FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 12-06-2010, 05:40 PM
David Lehman
 
Default 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org