[PATCH 8/8] Fill out class NTFS a bit more.

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

 



Add _fsck, _maxSize, _defaultCheckOptions.  Make minSize a property.
Uncomment _defaultMountOptions and make it a list.  Uncomment
_packages.
---
 storage/formats/fs.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 10568d8..6edf9b7 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -906,11 +906,15 @@ class NTFS(FS):
     """ ntfs filesystem. """
     _type = "ntfs"
     _resizefs = "ntfsresize"
+    _fsck = "ntfsresize"
     _resizable = True
     _minSize = 1
-    _defaultMountOptions = "defaults"
-    #_packages = ["ntfsprogs"]
+    _maxSize = 16 * 1024 * 1024
+    _defaultMountOptions = ["defaults"]
+    _defaultCheckOptions = ["-c"]
+    _packages = ["ntfsprogs"]
 
+    @property
     def minSize(self):
         """ The minimum filesystem size in megabytes. """
         size = self._minSize
-- 
1.6.1.3

_______________________________________________
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