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

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

 



---
 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

_______________________________________________
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