summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-05 14:50:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-05 14:50:35 +0000
commita642e513fe79697ef9833703561f3b36ae90bdda (patch)
treef50b581038b2416ccf664aaba8532c1d176232a7
parentff4ee71a6a5a8fe696cf597d483f59e91105843e (diff)
downloaddrakx-backup-do-not-use-a642e513fe79697ef9833703561f3b36ae90bdda.tar
drakx-backup-do-not-use-a642e513fe79697ef9833703561f3b36ae90bdda.tar.gz
drakx-backup-do-not-use-a642e513fe79697ef9833703561f3b36ae90bdda.tar.bz2
drakx-backup-do-not-use-a642e513fe79697ef9833703561f3b36ae90bdda.tar.xz
drakx-backup-do-not-use-a642e513fe79697ef9833703561f3b36ae90bdda.zip
(prepare_write_fstab): for supermount, have "none" as the device (cleaner, and
more coherent with the "supermount" script (tx to FredC))
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 3fbf1e33c..59becade8 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -257,7 +257,7 @@ sub prepare_write_fstab {
my @l1 = grep { member($_, 'ro', 'exec') } @l;
my @l2 = difference2(\@l, \@l1);
$options = join(",", "dev=$dev", "fs=$type", @l1, if_(@l2, '--', @l2));
- ($dev, $type) = ($mntpoint, 'supermount');
+ ($dev, $type) = ('none', 'supermount');
}
[ $mntpoint, $_->{comment} . join(' ', $dev, $mntpoint, $type, $options || 'defaults', $freq, $passno) . "\n" ];