From dd29aae8bf87e6cefe4d7a7a977a7cf7dabafa4b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 14 Dec 2009 10:47:50 +0000 Subject: (entry) fix sysfs path, thus fixing creating devices, thus really "fix handling hdX/sdX devices (#53107)" --- perl-install/NEWS | 3 +++ perl-install/devices.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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))); -- cgit v1.2.1