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

[PATCH] Don't check mountable before obtaining actual/existing fs size. (#733808)



NTFS is not mountable but we do support resizing them so we need to be
able to get the size of an existing NTFS filesystem.
---
 pyanaconda/storage/formats/fs.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/formats/fs.py b/pyanaconda/storage/formats/fs.py
index 9cb35d5..90d97e7 100644
--- a/pyanaconda/storage/formats/fs.py
+++ b/pyanaconda/storage/formats/fs.py
@@ -255,7 +255,7 @@ class FS(DeviceFormat):
         """
         size = self._size
 
-        if self.infofsProg and self.mountable and self.exists and not size:
+        if self.infofsProg and self.exists and not size:
             try:
                 values = []
                 argv = self._defaultInfoOptions + [ self.device ]
-- 
1.7.6


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