From 9646e464b11c624c87ab939ad6aa14e9bd733f68 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Sun, 12 Apr 2015 21:42:14 +0259 Subject: - dont force 'p' for dmraid partitions, it's conditional depending on device naming like dmraid, kpartx and kernel handles it --- perl-install/devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/devices.pm') diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 1dede1cc1..ce3a159a3 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -170,7 +170,7 @@ sub part_prefix { sub prefix_for_dev { my ($dev) = @_; - $dev . ($dev =~ /\d$/ || $dev =~ m!mapper/! ? 'p' : ''); + $dev . ($dev =~ /\d$/ 'p' : ''); } sub should_prefer_UUID { -- cgit v1.2.1