diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-05 14:50:35 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-05 14:50:35 +0000 |
commit | a642e513fe79697ef9833703561f3b36ae90bdda (patch) | |
tree | f50b581038b2416ccf664aaba8532c1d176232a7 /perl-install | |
parent | ff4ee71a6a5a8fe696cf597d483f59e91105843e (diff) | |
download | drakx-a642e513fe79697ef9833703561f3b36ae90bdda.tar drakx-a642e513fe79697ef9833703561f3b36ae90bdda.tar.gz drakx-a642e513fe79697ef9833703561f3b36ae90bdda.tar.bz2 drakx-a642e513fe79697ef9833703561f3b36ae90bdda.tar.xz drakx-a642e513fe79697ef9833703561f3b36ae90bdda.zip |
(prepare_write_fstab): for supermount, have "none" as the device (cleaner, and
more coherent with the "supermount" script (tx to FredC))
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fs.pm | 2 |
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" ]; |