From 3ead71d3ac44a967aa807d749c38fa418fe1e9d6 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 5 Nov 2001 17:03:54 +0000 Subject: honours hash in /etc/fstab to disable lines --- rescue/guessmounts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rescue/guessmounts') diff --git a/rescue/guessmounts b/rescue/guessmounts index 5adb33d92..18514bce3 100755 --- a/rescue/guessmounts +++ b/rescue/guessmounts @@ -59,6 +59,7 @@ M: foreach (@parts) { if ($root) { print "\nMounting other partitions from fstab on $target...\n"; foreach (@fstab) { + next if /^\s*#/; my ($dev, $where, $type, $opts) = split; next if (!$type || $dev eq 'none' || $opts =~ /noauto/ || $type =~ /^(supermount|swap|nfs)$/ || @@ -80,6 +81,9 @@ if ($root) { #------------------------------------------------- #- $Log$ +#- Revision 1.5 2001/11/05 17:03:54 gc +#- honours hash in /etc/fstab to disable lines +#- #- Revision 1.4 2001/10/24 22:34:01 gc #- - add a GUI to the rescue #- - provide guessmounts with better efficiency and output, go to console, and reboot -- cgit v1.2.1