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

[PATCH 1/2] Don't ever try to mount ntfs filesystems. (#637319)



We only ever try when mounting systems in preparation for upgrade, but
even then we don't care about ntfs filesystem or their contents. All we
want to do with them is preserve them in the post-upgrade /etc/fstab.
---
 pyanaconda/storage/formats/fs.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index c3ea79c..e68a484 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -1323,6 +1323,10 @@ class NTFS(FS):
     _existingSizeFields = ["Cluster Size:", "Volume Size in Clusters:"]
     partedSystem = fileSystemType["ntfs"]
 
+    @property
+    def mountable(self):
+        return False
+
     def _fsckFailed(self, rc):
         if rc != 0:
             return True
-- 
1.7.2.3


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