[PATCH 06/13] Get existing filesystem size for ntfs filesystems.

[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 481c6a9..ddab4b6 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -1013,6 +1013,9 @@ class NTFS(FS):
     _defaultMountOptions = ["defaults"]
     _defaultCheckOptions = ["-c"]
     _packages = ["ntfsprogs"]
+    _infofs = "ntfsinfo"
+    _defaultInfoOptions = ["-m"]
+    _existingSizeFields = ["Cluster Size:", "Volume Size in Clusters:"]
 
     @property
     def minSize(self):
-- 
1.6.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