diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-12-14 10:47:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-12-14 10:47:50 +0000 |
commit | dd29aae8bf87e6cefe4d7a7a977a7cf7dabafa4b (patch) | |
tree | d8ef342334bae93f383ff9bb714e2e01590a454b | |
parent | 46fdc2d7e9fc9590504075de875c91ff9603a71c (diff) | |
download | drakx-backup-do-not-use-dd29aae8bf87e6cefe4d7a7a977a7cf7dabafa4b.tar drakx-backup-do-not-use-dd29aae8bf87e6cefe4d7a7a977a7cf7dabafa4b.tar.gz drakx-backup-do-not-use-dd29aae8bf87e6cefe4d7a7a977a7cf7dabafa4b.tar.bz2 drakx-backup-do-not-use-dd29aae8bf87e6cefe4d7a7a977a7cf7dabafa4b.tar.xz drakx-backup-do-not-use-dd29aae8bf87e6cefe4d7a7a977a7cf7dabafa4b.zip |
(entry) fix sysfs path, thus fixing creating devices, thus really "fix
handling hdX/sdX devices (#53107)"
-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))); |