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

[PATCH] Preserve and otherwise ignore noauto fstab entries. (#660017)



---
 pyanaconda/storage/__init__.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index e815c20..bb5bc02 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -1618,10 +1618,16 @@ class FSSet(object):
         return filesystems
 
     def _parseOneLine(self, (devspec, mountpoint, fstype, options, dump, passno)):
+        # no sense in doing any legwork for a noauto entry
+        if "noauto" in options:
+            log.info("ignoring noauto entry")
+            raise UnrecognizedFSTabEntryError()
+
         # find device in the tree
         device = self.devicetree.resolveDevice(devspec,
                                                cryptTab=self.cryptTab,
                                                blkidTab=self.blkidTab)
+
         if device:
             # fall through to the bottom of this block
             pass
-- 
1.7.2.3


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