summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
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';
}