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

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

 



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

_______________________________________________
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