From 493234a8fd7bcf0a41f8df22fd8d8c774fbb064e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 8 Mar 2001 13:59:21 +0000 Subject: (write_fstab): special case for device ``none'' (which can be mounted twice or more :) --- 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 de3f62867..8b91b29b3 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -409,7 +409,7 @@ sub write_fstab($;$$) { my %new; @to_add = grep { - if (!$new{$_->[0]} && !$new{$_->[1]}) { + if ($_->[0] eq 'none' || !$new{$_->[0]} && !$new{$_->[1]}) { #- keep in mind the new line for fstab. @new{$_->[0], $_->[1]} = (1, 1); 1; -- cgit v1.2.1