User-friendly disk names
User-friendly disk names
Posted Jun 30, 2011 8:32 UTC (Thu) by zdzichu (subscriber, #17118)In reply to: User-friendly disk names by giraffedata
Parent article: User-friendly disk names
But udev helps you to map sdX to real hardware:
# ls -lR /dev/disk/by-* | grep sdc1
lrwxrwxrwx. 1 root root 10 06-22 09:36 ata-ST3250820AS_6QE0XHAV-part1 -> ../../sdc1
lrwxrwxrwx. 1 root root 10 06-22 09:36 scsi-SATA_ST3250820AS_6QE0XHAV-part1 -> ../../sdc1
lrwxrwxrwx. 1 root root 10 06-22 09:36 pci-0000:00:1f.2-scsi-3:0:0:0-part1 -> ../../sdc1
lrwxrwxrwx. 1 root root 10 06-22 09:36 4e11c761-2597-4b20-8e86-b9eac0a665d0 -> ../../sdc1
I'm sure there is some "udevadm info" invocation which will do the same and even provice more info.
