diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-08 13:59:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-08 13:59:21 +0000 |
commit | 493234a8fd7bcf0a41f8df22fd8d8c774fbb064e (patch) | |
tree | 2705a7163d181db1e7e4693ce87e477cee5702ea /perl-install/fs.pm | |
parent | 5153904e210f766290edcf5832c25310a649f9d4 (diff) | |
download | drakx-backup-do-not-use-493234a8fd7bcf0a41f8df22fd8d8c774fbb064e.tar drakx-backup-do-not-use-493234a8fd7bcf0a41f8df22fd8d8c774fbb064e.tar.gz drakx-backup-do-not-use-493234a8fd7bcf0a41f8df22fd8d8c774fbb064e.tar.bz2 drakx-backup-do-not-use-493234a8fd7bcf0a41f8df22fd8d8c774fbb064e.tar.xz drakx-backup-do-not-use-493234a8fd7bcf0a41f8df22fd8d8c774fbb064e.zip |
(write_fstab): special case for device ``none'' (which can be mounted
twice or more :)
Diffstat (limited to 'perl-install/fs.pm')
-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 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; |