[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.
[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.