[PATCH 5/5] Get existing fs size for xfs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 storage/formats/fs.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 7b70b49..c8b9b4a 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -1095,6 +1095,9 @@ 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)
 
-- 
1.6.2.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux