Comment 2 for bug 1550448

Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

One slight change to the patch.
It worked for sd/vd disks, but not for NVMe :)
Just fixed the regex and tested on a system w/ 2 NVMe disks.

Change to this line only:
  grep -o '/dev/\([sv]d[a-z]\+\|nvme[0-9]\+n[0-9]\+p\)'