diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-07-29 15:18:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-07-29 15:18:54 +0000 |
commit | 88a07c82cece62903ae68e1e2c482d810bbf8560 (patch) | |
tree | 5eee08b842d20f111fc82bba2e42425e253e8a50 /perl-install/detect_devices.pm | |
parent | 5dc2835bfbf1f53ad51ba540f4423c22cc94b26c (diff) | |
download | drakx-backup-do-not-use-88a07c82cece62903ae68e1e2c482d810bbf8560.tar drakx-backup-do-not-use-88a07c82cece62903ae68e1e2c482d810bbf8560.tar.gz drakx-backup-do-not-use-88a07c82cece62903ae68e1e2c482d810bbf8560.tar.bz2 drakx-backup-do-not-use-88a07c82cece62903ae68e1e2c482d810bbf8560.tar.xz drakx-backup-do-not-use-88a07c82cece62903ae68e1e2c482d810bbf8560.zip |
no_comment
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 6cc170368..d226d033b 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -40,7 +40,7 @@ sub hasSCSI() { log::l("scsi devices are available"); $scsiDeviceAvailable = 1; } -sub hasIDE() { 1 } +sub hasIDE() { -e "/proc/ide" } sub hasDAC960() { 1 } sub hasCompaqSmartArray() { @@ -82,8 +82,6 @@ sub getSCSI() { sub getIDE() { my @idi; - -r "/proc/ide" or die "sorry, /proc/ide not available, seems like you have a pre-2.2 kernel\n => not handled yet :("; - # Great. 2.2 kernel, things are much easier and less error prone. foreach my $d (glob_('/proc/ide/hd*')) { my ($t) = chop_(cat_("$d/media")); |