projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
631e57e
)
show dumpe2fs when debug
author
Gui Chen
<gui.chen@intel.com>
Tue, 4 Dec 2012 08:20:44 +0000
(16:20 +0800)
committer
Gui Chen
<gui.chen@intel.com>
Wed, 12 Dec 2012 11:33:44 +0000
(19:33 +0800)
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/utils/fs_related.py
patch
|
blob
|
history
diff --git
a/mic/utils/fs_related.py
b/mic/utils/fs_related.py
index
2447b30
..
f582cd2
100644
(file)
--- a/
mic/utils/fs_related.py
+++ b/
mic/utils/fs_related.py
@@
-455,7
+455,7
@@
class ExtDiskMount(DiskMount):
if rc != 0:
raise MountError("Error creating %s filesystem on disk %s" % (self.fstype, self.disk.device))
-
out = runner.outs
([self.dumpe2fs, '-h', self.disk.device])
+
rc, out = runner.runtool
([self.dumpe2fs, '-h', self.disk.device])
self.uuid = self.__parse_field(out, "Filesystem UUID")
msger.debug("Tuning filesystem on %s" % self.disk.device)