------------------ For 64-bit device numbers -------------------
Here's the old way:
brw-rw---- 1 root disk 8, 0 May 4 1994 /dev/sda
Hex won't quite fit:
brw-rw---- 1 root disk 2847a3b5f9e310f9 May 4 1994 /dev/sda
Use base-64 encoding:
brw-rw---- 1 root disk 3Aib31fzeTc May 4 1994 /dev/sda
------------------- For something that fits --------------------
If we only use 48 bits (dev_t is padded to 64-bit) then hex will
fit in the display correctly:
brw-rw---- 1 root disk a3b5f9e310f9 May 4 1994 /dev/sda
Break up device numbers on nibble boundries for readability.
controller:4
bus:4
device:8
lun:8
partition:4
Hmmm, that is only 28 bits. Did I miss something? If SCSI, IDE,
and all the weird stuff gets unified naming, then 36 bits are left
over! Even with 8-bit partition numbers, 32 bits is enough.