diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-13 11:37:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-13 11:37:17 +0000 |
commit | ccd328a91005d8942f6afb74880e018636ba573c (patch) | |
tree | e37ced6a8977666aa3276385126499e8fe1a199c /perl-install/fs.pm | |
parent | 648e175de516e58070c89fa691fcbce89192d4c5 (diff) | |
download | drakx-ccd328a91005d8942f6afb74880e018636ba573c.tar drakx-ccd328a91005d8942f6afb74880e018636ba573c.tar.gz drakx-ccd328a91005d8942f6afb74880e018636ba573c.tar.bz2 drakx-ccd328a91005d8942f6afb74880e018636ba573c.tar.xz drakx-ccd328a91005d8942f6afb74880e018636ba573c.zip |
- handle WORM type in /proc/scsi/scsi
- added media_type cdrom-burner
- adapting to new media_type
- nicer fd&hd testing
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 5156a9c4c..e75970330 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -331,11 +331,11 @@ sub set_default_options { if ($options->{supermount} && $is_auto) { # this can't work, guessing :-( - $part->{type} = fs2type($part->{media_type} eq 'cdrom' ? 'iso9660' : 'vfat'); + $part->{type} = fs2type($part->{media_type} =~ /cdrom/ ? 'iso9660' : 'vfat'); $is_auto = 0; } - if ($part->{media_type} eq 'cdrom') { + if ($part->{media_type} =~ /cdrom/) { $options->{ro} = 1; } |