summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-30 15:40:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-30 15:40:24 +0000
commit2834ce658055f5e4bd65726600aa50f747e1f867 (patch)
treeff356564bdcbb6970f8db258b4d7a4dcf2568f97 /perl-install/fs.pm
parentebaebfea9131996ab40428b27b6f7415aa9ff309 (diff)
downloaddrakx-2834ce658055f5e4bd65726600aa50f747e1f867.tar
drakx-2834ce658055f5e4bd65726600aa50f747e1f867.tar.gz
drakx-2834ce658055f5e4bd65726600aa50f747e1f867.tar.bz2
drakx-2834ce658055f5e4bd65726600aa50f747e1f867.tar.xz
drakx-2834ce658055f5e4bd65726600aa50f747e1f867.zip
*** empty log message ***
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 4692e3ead..1a0ec795f 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -438,7 +438,7 @@ sub set_default_options {
my ($options, $unknown) = mount_options_unpack($part);
if ($opts{is_removable}) {
- $options->{supermount} = $opts{useSupermount};
+ $options->{supermount} = $opts{useSupermount} && !($opts{useSupermount} eq 'magicdev' && $part->{media_type} eq 'cdrom');
$part->{type} = !$options->{supermount} ? 'auto' :
$part->{media_type} eq 'cdrom' ? 'udf:iso9660' : 'ext2:vfat';
}