diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2010-05-11 16:42:46 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2010-05-11 16:42:46 +0000 |
commit | 91dfc62419aed4dd200ad4531b049eea3bf0c454 (patch) | |
tree | a168d7ed2de8242e525ad7ec27412518d4f44b99 /perl-install/fs/wild_device.pm | |
parent | 1c069f64db8728fa0302acbe9f4827e0814adc3c (diff) | |
download | drakx-91dfc62419aed4dd200ad4531b049eea3bf0c454.tar drakx-91dfc62419aed4dd200ad4531b049eea3bf0c454.tar.gz drakx-91dfc62419aed4dd200ad4531b049eea3bf0c454.tar.bz2 drakx-91dfc62419aed4dd200ad4531b049eea3bf0c454.tar.xz drakx-91dfc62419aed4dd200ad4531b049eea3bf0c454.zip |
workaround mapper/* being symlinks in dmraid support
Diffstat (limited to 'perl-install/fs/wild_device.pm')
-rw-r--r-- | perl-install/fs/wild_device.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/wild_device.pm b/perl-install/fs/wild_device.pm index afc59b4ee..37818ce5a 100644 --- a/perl-install/fs/wild_device.pm +++ b/perl-install/fs/wild_device.pm @@ -44,7 +44,7 @@ sub to_subpart { ($part{major}, $part{minor}) = unmakedev($rdev); } - my $symlink = readlink("$::prefix$dev"); + my $symlink = readlink("$::prefix$dev") unless $dev =~ m!mapper/!; $dev =~ s!/u?dev/!!; if ($symlink && $symlink !~ m!^/!) { |