diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-02-27 19:46:04 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-02-27 19:46:04 +0000 |
commit | 495ed1f595998aeaa7826d54ed555d26328bba02 (patch) | |
tree | 1995cc6cfe707338c7a5db34613a5181bf6b53e5 /perl-install/fs | |
parent | 280fe32ad32ae5d45cbc8ebd4a4903bf0861afbf (diff) | |
download | drakx-495ed1f595998aeaa7826d54ed555d26328bba02.tar drakx-495ed1f595998aeaa7826d54ed555d26328bba02.tar.gz drakx-495ed1f595998aeaa7826d54ed555d26328bba02.tar.bz2 drakx-495ed1f595998aeaa7826d54ed555d26328bba02.tar.xz drakx-495ed1f595998aeaa7826d54ed555d26328bba02.zip |
(really_all_fstab) do not put entry for CD/DVD in /etc/fstab (mga#7657)
Diffstat (limited to 'perl-install/fs')
-rw-r--r-- | perl-install/fs/get.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/get.pm b/perl-install/fs/get.pm index 461984431..096402e6f 100644 --- a/perl-install/fs/get.pm +++ b/perl-install/fs/get.pm @@ -22,7 +22,7 @@ sub fstab { sub really_all_fstab { my ($all_hds) = @_; my @l = fstab($all_hds); - @l, @{$all_hds->{raw_hds}}, @{$all_hds->{nfss}}, @{$all_hds->{smbs}}, @{$all_hds->{davs}}; + @l, (grep { !$_->{is_removable} } @{$all_hds->{raw_hds}}), @{$all_hds->{nfss}}, @{$all_hds->{smbs}}, @{$all_hds->{davs}}; } sub fstab_and_holes { |