diff options
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r-- | perl-install/devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 8e7ff8f1a..4d1d9745e 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -205,7 +205,7 @@ sub part_prefix { sub prefix_for_dev { my ($dev) = @_; - $dev . ($dev =~ /\d$/ ? 'p' : ''); + $dev . ($dev =~ /\d$/ || $dev =~ m!mapper/! ? 'p' : ''); } sub should_prefer_UUID { |