From 91dfc62419aed4dd200ad4531b049eea3bf0c454 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Tue, 11 May 2010 16:42:46 +0000 Subject: workaround mapper/* being symlinks in dmraid support --- perl-install/fs/wild_device.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs/wild_device.pm') 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!^/!) { -- cgit v1.2.1