summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-03 22:26:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-03 22:26:11 +0000
commit5e741c923710a430fdecf9d1485b30ef920de9c8 (patch)
tree07cdacba499faded691c57da74702f6db95e41fc /perl-install/fs.pm
parent06ee50b237dccb9411d589ddcb35ac2a8ca1771a (diff)
downloaddrakx-5e741c923710a430fdecf9d1485b30ef920de9c8.tar
drakx-5e741c923710a430fdecf9d1485b30ef920de9c8.tar.gz
drakx-5e741c923710a430fdecf9d1485b30ef920de9c8.tar.bz2
drakx-5e741c923710a430fdecf9d1485b30ef920de9c8.tar.xz
drakx-5e741c923710a430fdecf9d1485b30ef920de9c8.zip
- no more /media/cdrom in fstab by default
(not needed anymore by urpmi)
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index ea95242cc..a5b24edab 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -301,7 +301,7 @@ sub set_removable_mntpoints {
my %names;
foreach (@{$all_hds->{raw_hds}}) {
my $name = detect_devices::suggest_mount_point($_) or next;
- $name eq 'zip' and next;
+ $name eq 'zip' || $name eq 'cdrom' and next;
my $s = ++$names{$name};
$_->{mntpoint} ||= "/media/$name" . ($s == 1 ? '' : $s);