The nvme0n1 device does not have a 'by-id' entry in the device tree but it does have a by-uuid entry:
ubuntu@omaha:/dev/disk$ ll by-dname/ total 0 drwxr-xr-x 2 root root 60 May 12 21:28 ./ drwxr-xr-x 5 root root 100 May 12 21:28 ../ lrwxrwxrwx 1 root root 13 May 12 21:28 bcache0 -> ../../bcache0 ubuntu@omaha:/dev/disk$ ll by-id/ total 0 drwxr-xr-x 2 root root 200 May 12 21:28 ./ drwxr-xr-x 5 root root 100 May 12 21:28 ../ lrwxrwxrwx 1 root root 9 May 12 21:28 ata-MB1000GCEEK_WCAW37040132 -> ../../sda lrwxrwxrwx 1 root root 10 May 12 21:28 ata-MB1000GCEEK_WCAW37040132-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 May 12 21:28 ata-MB1000GCEEK_WCAW37040132-part2 -> ../../sda2 lrwxrwxrwx 1 root root 9 May 12 21:28 ata-MB1000GCEEK_WCAW37073471 -> ../../sdb lrwxrwxrwx 1 root root 9 May 12 21:28 wwn-0x50014ee25eda851b -> ../../sdb lrwxrwxrwx 1 root root 9 May 12 21:28 wwn-0x50014ee25edb5d76 -> ../../sda lrwxrwxrwx 1 root root 10 May 12 21:28 wwn-0x50014ee25edb5d76-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 May 12 21:28 wwn-0x50014ee25edb5d76-part2 -> ../../sda2 ubuntu@omaha:/dev/disk$ ll by-uuid/ total 0 drwxr-xr-x 2 root root 120 May 12 21:28 ./ drwxr-xr-x 5 root root 100 May 12 21:28 ../ lrwxrwxrwx 1 root root 10 May 12 21:28 56a8bab5-971f-45a6-9bc0-1d6c2c9daae7 -> ../../sda2 lrwxrwxrwx 1 root root 10 May 12 21:28 5f294c60-fd32-48df-86d1-41c5f133b9f2 -> ../../sda1 lrwxrwxrwx 1 root root 13 May 12 21:28 6e032f96-81f3-4a0d-aa31-ed07e747119c -> ../../nvme0n1 lrwxrwxrwx 1 root root 13 May 12 21:28 a5844495-a15d-4b66-aff7-044fb7dce11c -> ../../bcache0
See https://pastebin.canonical.com/156389/ for better formatting.
The nvme0n1 device does not have a 'by-id' entry in the device tree but it does have a by-uuid entry:
ubuntu@ omaha:/ dev/disk$ ll by-dname/ omaha:/ dev/disk$ ll by-id/ _WCAW37040132 -> ../../sda _WCAW37040132- part1 -> ../../sda1 _WCAW37040132- part2 -> ../../sda2 _WCAW37073471 -> ../../sdb eda851b -> ../../sdb edb5d76 -> ../../sda edb5d76- part1 -> ../../sda1 edb5d76- part2 -> ../../sda2 omaha:/ dev/disk$ ll by-uuid/ 971f-45a6- 9bc0-1d6c2c9daa e7 -> ../../sda2 fd32-48df- 86d1-41c5f133b9 f2 -> ../../sda1 81f3-4a0d- aa31-ed07e74711 9c -> ../../nvme0n1 a15d-4b66- aff7-044fb7dce1 1c -> ../../bcache0
total 0
drwxr-xr-x 2 root root 60 May 12 21:28 ./
drwxr-xr-x 5 root root 100 May 12 21:28 ../
lrwxrwxrwx 1 root root 13 May 12 21:28 bcache0 -> ../../bcache0
ubuntu@
total 0
drwxr-xr-x 2 root root 200 May 12 21:28 ./
drwxr-xr-x 5 root root 100 May 12 21:28 ../
lrwxrwxrwx 1 root root 9 May 12 21:28 ata-MB1000GCEEK
lrwxrwxrwx 1 root root 10 May 12 21:28 ata-MB1000GCEEK
lrwxrwxrwx 1 root root 10 May 12 21:28 ata-MB1000GCEEK
lrwxrwxrwx 1 root root 9 May 12 21:28 ata-MB1000GCEEK
lrwxrwxrwx 1 root root 9 May 12 21:28 wwn-0x50014ee25
lrwxrwxrwx 1 root root 9 May 12 21:28 wwn-0x50014ee25
lrwxrwxrwx 1 root root 10 May 12 21:28 wwn-0x50014ee25
lrwxrwxrwx 1 root root 10 May 12 21:28 wwn-0x50014ee25
ubuntu@
total 0
drwxr-xr-x 2 root root 120 May 12 21:28 ./
drwxr-xr-x 5 root root 100 May 12 21:28 ../
lrwxrwxrwx 1 root root 10 May 12 21:28 56a8bab5-
lrwxrwxrwx 1 root root 10 May 12 21:28 5f294c60-
lrwxrwxrwx 1 root root 13 May 12 21:28 6e032f96-
lrwxrwxrwx 1 root root 13 May 12 21:28 a5844495-
See https:/ /pastebin. canonical. com/156389/ for better formatting.