diff options
author | Thomas Backlund <tmb@mageia.org> | 2016-02-14 01:28:37 +0200 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2016-02-14 01:28:37 +0200 |
commit | 4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c (patch) | |
tree | 656bc55d51b7203e40e29c2c231134f5c2327a1b /perl-install/devices.pm | |
parent | ab8f41212f5a3929964195fead472c57176c4f2a (diff) | |
download | drakx-4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c.tar drakx-4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c.tar.gz drakx-4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c.tar.bz2 drakx-4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c.tar.xz drakx-4eb296a89c540a3ebdcecbc3f55758c4b5e5b97c.zip |
detect partitions on nvme devices (mga#17743)
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 aa65204ed..5b3e4e8ba 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -157,7 +157,7 @@ sub make($) { sub simple_partition_scan { my ($part) = @_; - $part->{device} =~ /((?:[hsv]|xv)d[a-z]|mmcblk\d+p)(\d+)$/; + $part->{device} =~ /((?:[hsv]|xv)d[a-z]|mmcblk|nvme\d+p)(\d+)$/; } sub part_number { my ($part) = @_; |