diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-20 22:10:00 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-20 22:10:00 +0000 |
commit | db97cfe30d0824effd1462934d43df58ffa7d9bb (patch) | |
tree | 4afbfacf7607fe5313a639fdf3d7dfa81f869a75 /perl-install/detect_devices.pm | |
parent | 56c1b0d4fe9f5a9908827a51b22fa53dd0265bbd (diff) | |
download | drakx-backup-do-not-use-db97cfe30d0824effd1462934d43df58ffa7d9bb.tar drakx-backup-do-not-use-db97cfe30d0824effd1462934d43df58ffa7d9bb.tar.gz drakx-backup-do-not-use-db97cfe30d0824effd1462934d43df58ffa7d9bb.tar.bz2 drakx-backup-do-not-use-db97cfe30d0824effd1462934d43df58ffa7d9bb.tar.xz drakx-backup-do-not-use-db97cfe30d0824effd1462934d43df58ffa7d9bb.zip |
no_comment
Diffstat (limited to 'perl-install/detect_devices.pm')
-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 60295f880..35a85dfc5 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -95,7 +95,7 @@ sub getIDE() { my @idi; #- Great. 2.2 kernel, things are much easier and less error prone. - foreach my $d (glob_('/proc/ide/hd*')) { + foreach my $d (sort @{[glob_('/proc/ide/hd*')]}) { my ($t) = chop_(cat_("$d/media")); my $type = $ {{disk => 'hd', cdrom => 'cdrom', tape => 'tape', floppy => 'fd'}}{$t} or next; my ($info) = chop_(cat_("$d/model")); $info ||= "(none)"; |