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/NEWS | 3 +++ perl-install/devices.pm | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index bac6b887e..ff077fda1 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- dont force 'p' for dmraid partitions, it's conditional depending + on device naming like dmraid, kpartx and kernel handles it + Version 16.80 - 9 April 2015 - diskdrake: 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