summaryrefslogtreecommitdiffstats
path: root/storage/formats/fs.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-05-14 12:44:51 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-05-14 13:22:19 -1000
commit3f69d901e4cbe298f6f9c9ba8fff53752f31d285 (patch)
tree8cd6e22a29043a05275ac1e8644f08d06312c90c /storage/formats/fs.py
parentd97019a25b943133d5eb55bd3357c0d869910e8c (diff)
downloadanaconda-3f69d901e4cbe298f6f9c9ba8fff53752f31d285.tar.gz
anaconda-3f69d901e4cbe298f6f9c9ba8fff53752f31d285.tar.xz
anaconda-3f69d901e4cbe298f6f9c9ba8fff53752f31d285.zip
Get existing fs size for xfs.
Diffstat (limited to 'storage/formats/fs.py')
-rw-r--r--storage/formats/fs.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 95011e6d3..5c5a290da 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -1095,6 +1095,10 @@ class XFS(FS):
_dump = True
_check = True
_packages = ["xfsprogs"]
+ _infofs = "xfs_db"
+ _defaultInfoOptions = ["-c", "\"sb 0\"", "-c", "\"p dblocks\"",
+ "-c", "\"p blocksize\""]
+ _existingSizeFields = ["dblocks =", "blocksize ="]
register_device_format(XFS)