summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-12-14 10:47:50 +0000
committerThierry Vignaud <tv@mandriva.org>2009-12-14 10:47:50 +0000
commitdd29aae8bf87e6cefe4d7a7a977a7cf7dabafa4b (patch)
treed8ef342334bae93f383ff9bb714e2e01590a454b /perl-install/devices.pm
parent46fdc2d7e9fc9590504075de875c91ff9603a71c (diff)
downloaddrakx-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)"
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm2
1 files changed, 1 insertions, 1 deletions
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)));