summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-11-05 17:03:54 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-11-05 17:03:54 +0000
commit3ead71d3ac44a967aa807d749c38fa418fe1e9d6 (patch)
tree63336e0ccc6379678f00e8c8f63dfe6424c91a9b /rescue
parentf85532a7f3451cb6469fbb86cb1af1df80962e6a (diff)
downloaddrakx-backup-do-not-use-3ead71d3ac44a967aa807d749c38fa418fe1e9d6.tar
drakx-backup-do-not-use-3ead71d3ac44a967aa807d749c38fa418fe1e9d6.tar.gz
drakx-backup-do-not-use-3ead71d3ac44a967aa807d749c38fa418fe1e9d6.tar.bz2
drakx-backup-do-not-use-3ead71d3ac44a967aa807d749c38fa418fe1e9d6.tar.xz
drakx-backup-do-not-use-3ead71d3ac44a967aa807d749c38fa418fe1e9d6.zip
honours hash in /etc/fstab to disable lines
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/guessmounts4
1 files changed, 4 insertions, 0 deletions
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