diff options
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/devices.pm | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 73965a0d7..67c594f71 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- fix creating devices + (really "fix handling hdX/sdX devices (#53107)") + Version 12.77.2 - 30 November 2009 - bugfix for draklive-install: use ::prefix in pkgs::remove_unused_packages diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 6168973a8..a50d70953 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -159,7 +159,7 @@ sub entry { $sysdev = "/sys/block/$_/dev"; $type = c::S_IFBLK(); } elsif (/^(.+)(\d+)$/ && -e "/sys/block/$1/$_/dev") { - $sysdev = "/sys/block/$_/dev"; + $sysdev = "/sys/block/$1/$_/dev"; $type = c::S_IFBLK(); } ($major, $minor) = split(':', chomp_(cat_($sysdev))); |