summaryrefslogtreecommitdiffstats
path: root/storage/formats/fs.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-05-14 10:05:48 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-05-14 13:22:13 -1000
commitc4a056592e80e224a5c8cb0a5ef29e52849d8e05 (patch)
tree47550dc9fba35908386ba0f89288f6feb77d4c51 /storage/formats/fs.py
parent65ec857a9c09cb94ca9617cdc0125b765afdd0f2 (diff)
downloadanaconda-c4a056592e80e224a5c8cb0a5ef29e52849d8e05.tar.gz
anaconda-c4a056592e80e224a5c8cb0a5ef29e52849d8e05.tar.xz
anaconda-c4a056592e80e224a5c8cb0a5ef29e52849d8e05.zip
Get existing fs size for ext2, ext3, and ext4.
Diffstat (limited to 'storage/formats/fs.py')
-rw-r--r--storage/formats/fs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 4765e653b..2b8847e88 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -837,6 +837,9 @@ class Ext2FS(FS):
_migrationTarget = "ext3"
_migratefs = "tune2fs"
_defaultMigrateOptions = ["-j"]
+ _infofs = "dumpe2fs"
+ _defaultInfoOptions = ["-h"]
+ _existingSizeFields = ["Block count:", "Block size:"]
def doMigrate(self, intf=None):
FS.doMigrate(self, intf=intf)