Public bug reported:

[Impact]
parted reports NVMe devices as "Unknown", which propagates up to d-i:

  ┌────────────────────────┤ [!!] Partition disks ├─────────────────────────┐
  │ │
  │ Note that all data on the disk you select will be erased, but not │
  │ before you have confirmed that you really want to make the changes. │
  │ │
  │ Select disk to partition: │
  │ │
  │ /dev/nvme0n1 - 450.1 GB Unknown │
  │ SCSI1 (0,0,0) (sdi) - 240.1 GB ATA INTEL SSDSC2BB24 │
  │ SCSI3 (0,0,0) (sdj) - 800.2 GB ATA SDLFOCAM-800G-1H │
  │ │
  │ <Go Back> │
  │ │
  └─────────────────────────────────────────────────────────────────────────┘

[Test Case]
Current:
$ sudo parted -s /dev/nvme0n1 p
Model: Unknown
Disk /dev/nvme0n1: 512GB
[...]

Expected:
$ sudo parted -s /dev/nvme0n1 p
Model: NVMe Device (nvme)
Disk /dev/nvme0n1: 512GB
[...]

[Regression Risk]
There maybe user code out there relying on the existing "Unknown" output.

** Affects: parted (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: parted (Ubuntu Xenial)
     Importance: Undecided
         Status: New

** Affects: parted (Ubuntu Zesty)
     Importance: Undecided
         Status: New

** Affects: parted (Ubuntu Artful)
     Importance: Undecided
         Status: New

** Affects: parted (Ubuntu Bionic)
     Importance: Undecided
         Status: New

** Affects: parted (Debian)
     Importance: Unknown
         Status: Unknown

** Bug watch added: Debian Bug tracker #886960
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886960

** Also affects: parted (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886960
   Importance: Unknown
       Status: Unknown

** Also affects: parted (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: parted (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: parted (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: parted (Ubuntu Artful)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1742787

Title:
  Recognize NVMe devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1742787/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to