diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-18 13:12:07 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-18 13:12:07 +0000 |
commit | 208a98efc418f730923dd40cade598287c12caa7 (patch) | |
tree | 32e42ecc22ebb8053e65ae4118856000df6d9636 /perl-install/fs.pm | |
parent | d7b2ab51b319f82cf17fd48e1e8d78fa8d9b1c46 (diff) | |
download | drakx-backup-do-not-use-208a98efc418f730923dd40cade598287c12caa7.tar drakx-backup-do-not-use-208a98efc418f730923dd40cade598287c12caa7.tar.gz drakx-backup-do-not-use-208a98efc418f730923dd40cade598287c12caa7.tar.bz2 drakx-backup-do-not-use-208a98efc418f730923dd40cade598287c12caa7.tar.xz drakx-backup-do-not-use-208a98efc418f730923dd40cade598287c12caa7.zip |
- remove media_type cdrom-burner, use {capacity} instead
- use /proc/sys/dev/cdrom/info to fill in the {capacity}
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 bfbdc42d9..2f850c466 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -340,11 +340,11 @@ sub set_default_options { if ($options->{supermount} && $is_auto) { # this can't work, guessing :-( - $part->{type} = fs2type($part->{media_type} =~ /cdrom/ ? 'iso9660' : 'vfat'); + $part->{type} = fs2type($part->{media_type} eq 'cdrom' ? 'iso9660' : 'vfat'); $is_auto = 0; } - if ($part->{media_type} =~ /cdrom/) { + if ($part->{media_type} eq 'cdrom') { $options->{ro} = 1; } |