From a642e513fe79697ef9833703561f3b36ae90bdda Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 5 Jul 2002 14:50:35 +0000 Subject: (prepare_write_fstab): for supermount, have "none" as the device (cleaner, and more coherent with the "supermount" script (tx to FredC)) --- perl-install/fs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ]; -- cgit v1.2.1