diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-19 16:27:20 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-19 16:27:20 +0000 |
commit | 52457bbff77a86b2e1bc58bb906b7d7e3828aea2 (patch) | |
tree | 0a93d36e889faf54ba34bbf925d53e3964ab6332 | |
parent | 6f440996828f5b573f7e2c1eef12786adeb830c1 (diff) | |
download | drakx-backup-do-not-use-52457bbff77a86b2e1bc58bb906b7d7e3828aea2.tar drakx-backup-do-not-use-52457bbff77a86b2e1bc58bb906b7d7e3828aea2.tar.gz drakx-backup-do-not-use-52457bbff77a86b2e1bc58bb906b7d7e3828aea2.tar.bz2 drakx-backup-do-not-use-52457bbff77a86b2e1bc58bb906b7d7e3828aea2.tar.xz drakx-backup-do-not-use-52457bbff77a86b2e1bc58bb906b7d7e3828aea2.zip |
add scsi Optical Device recognition (thanks to Michael Riss)
(without this, a hard drive following the optical device gets assigned sda
whereas sda is the optical device and the hard drive really is sdb)
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 51d7cd5ae..5f20432a2 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -184,7 +184,7 @@ sub getSCSI() { each_index { my $dev = "sd" . chr($::i + ord('a')); put_in_hash $_, { device => $dev, media_type => isZipDrive($_) ? 'hd' : isFloppyOrHD($dev) }; - } grep { $_->{raw_type} =~ /Direct-Access/ } @l; + } grep { $_->{raw_type} =~ /Direct-Access|Optical Device/ } @l; each_index { put_in_hash $_, { device => "st$::i", media_type => 'tape' }; |