[Ocfs2-tools-devel] [PATCH] ocfs2console: remove unsupported option when calling tunefs.ocfs2

Coly Li coly.li at suse.de
Sat Feb 7 20:20:05 PST 2009


ocfs2interface/tune.py call tunefs.ocfs2 with -x option, which is not supported in tunefs.ocfs2.
This patch remove this unsupported option from ocfs2console.

Signed-off-by: Coly Li <coly.li at suse.de>
Cc: Joel Becker <joel.becker at oracle.com>
---
 ocfs2console/ocfs2interface/tune.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ocfs2console/ocfs2interface/tune.py b/ocfs2console/ocfs2interface/tune.py
index c76dbaa..0e514bd 100644
--- a/ocfs2console/ocfs2interface/tune.py
+++ b/ocfs2console/ocfs2interface/tune.py
@@ -24,7 +24,7 @@ from process import Process

 from fswidgets import NumSlots, VolumeLabel

-base_command = ('tunefs.ocfs2', '-x')
+base_command = ('tunefs.ocfs2',)

 class TuneVolumeLabel(VolumeLabel):
     def __init__(self, device=None):
-- 
Coly Li
SuSE Labs



More information about the Ocfs2-tools-devel mailing list