summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-03 12:26:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-03 12:26:27 +0000
commita384dec9ada016af7631ecb2b29bd972045dc9b2 (patch)
tree35e469c0c929a20dc19f62081567eb51cc82b40b /perl-install/devices.pm
parentdf097c88179d6241e0f8155f56e6c6fdbecb344a (diff)
downloaddrakx-backup-do-not-use-a384dec9ada016af7631ecb2b29bd972045dc9b2.tar
drakx-backup-do-not-use-a384dec9ada016af7631ecb2b29bd972045dc9b2.tar.gz
drakx-backup-do-not-use-a384dec9ada016af7631ecb2b29bd972045dc9b2.tar.bz2
drakx-backup-do-not-use-a384dec9ada016af7631ecb2b29bd972045dc9b2.tar.xz
drakx-backup-do-not-use-a384dec9ada016af7631ecb2b29bd972045dc9b2.zip
fix mtab reading and pseudo-device use
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 96faf3060..15f470e47 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -52,7 +52,7 @@ sub entry {
my ($type, $major, $minor);
local ($_) = @_;
- if (/^([\da-f]{3,4})$/i) {
+ if (/^0x([\da-f]{3,4})$/i) {
$type = c::S_IFBLK();
($major, $minor) = unmakedev(hex $1);
} elsif (/^sd(.)(\d{0,2})/) {