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

[PATCH 4/5] Get existing fs size for ntfs.



---
 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 8aec9d8..7b70b49 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -1148,6 +1148,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.2


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