diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-11-10 17:31:39 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-11-10 17:31:39 +0000 |
commit | 8a7d6cc196c0c9f522ff39b7ae030113bd1327a7 (patch) | |
tree | a4ad518f082f823a614e5ccc2978741e8dbb75a1 /perl-install/devices.pm | |
parent | 7133b7f18e35cd3096310730c2029e0de05012af (diff) | |
download | drakx-8a7d6cc196c0c9f522ff39b7ae030113bd1327a7.tar drakx-8a7d6cc196c0c9f522ff39b7ae030113bd1327a7.tar.gz drakx-8a7d6cc196c0c9f522ff39b7ae030113bd1327a7.tar.bz2 drakx-8a7d6cc196c0c9f522ff39b7ae030113bd1327a7.tar.xz drakx-8a7d6cc196c0c9f522ff39b7ae030113bd1327a7.zip |
fix handling hdX/sdX devices (#53107)
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r-- | perl-install/devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 26c7599a0..6168973a8 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -158,7 +158,7 @@ sub entry { } elsif (-e "/sys/block/$_/dev") { $sysdev = "/sys/block/$_/dev"; $type = c::S_IFBLK(); - } elsif (/(.+)(\d+)$/ && -e "/sys/block/$1/$2/dev") { + } elsif (/^(.+)(\d+)$/ && -e "/sys/block/$1/$_/dev") { $sysdev = "/sys/block/$_/dev"; $type = c::S_IFBLK(); } |