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

[PATCH 2/2] "efi" is not in kernel_filesystems, but "vfat" is (#495061, #495075).



---
 storage/formats/fs.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 19f488c..2714b67 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -848,6 +848,11 @@ class EFIFS(FATFS):
                 p.isEfi and
                 self.utilsAvailable)
 
+    @property
+    def mountable(self):
+        return (FATFS._type in kernel_filesystems) or \
+               (os.access("/sbin/mount.%s" % (FATFS._type,), os.X_OK))
+
 register_device_format(EFIFS)
 
 
-- 
1.6.1.3


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