Here it comes:
ls -l /dev/disk/by-id /sys/block
/dev/disk/by-id: insgesamt 0 lrwxrwxrwx 1 root root 9 2010-09-14 09:08 ata-SAMSUNG_HD502HI_S1VZJ9DSA00758 -> ../../sda lrwxrwxrwx 1 root root 10 2010-09-14 09:08 ata-SAMSUNG_HD502HI_S1VZJ9DSA00758-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 2010-09-14 09:08 ata-SAMSUNG_HD502HI_S1VZJ9DSA00758-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 2010-09-14 09:08 ata-SAMSUNG_HD502HI_S1VZJ9DSA00758-part5 -> ../../sda5 lrwxrwxrwx 1 root root 9 2010-09-14 09:08 scsi-SATA_SAMSUNG_HD502HIS1VZJ9DSA00758 -> ../../sda lrwxrwxrwx 1 root root 10 2010-09-14 09:08 scsi-SATA_SAMSUNG_HD502HIS1VZJ9DSA00758-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 2010-09-14 09:08 scsi-SATA_SAMSUNG_HD502HIS1VZJ9DSA00758-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 2010-09-14 09:08 scsi-SATA_SAMSUNG_HD502HIS1VZJ9DSA00758-part5 -> ../../sda5 lrwxrwxrwx 1 root root 9 2010-09-14 09:17 usb-Apple_iPod_000A2700105C956C-0:0 -> ../../sdf lrwxrwxrwx 1 root root 9 2010-09-14 09:08 usb-USB2.0_CardReader_CF_606569746801-0:0 -> ../../sdb lrwxrwxrwx 1 root root 9 2010-09-14 09:08 usb-USB2.0_CardReader_MS_606569746801-0:2 -> ../../sdd lrwxrwxrwx 1 root root 9 2010-09-14 09:08 usb-USB2.0_CardReader_SD_606569746801-0:3 -> ../../sde lrwxrwxrwx 1 root root 9 2010-09-14 09:08 usb-USB2.0_CardReader_SM_XD_606569746801-0:1 -> ../../sdc lrwxrwxrwx 1 root root 9 2010-09-14 09:08 wwn-0x50024e92011d69c1 -> ../../sda lrwxrwxrwx 1 root root 10 2010-09-14 09:08 wwn-0x50024e92011d69c1-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 2010-09-14 09:08 wwn-0x50024e92011d69c1-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 2010-09-14 09:08 wwn-0x50024e92011d69c1-part5 -> ../../sda5
/sys/block: insgesamt 0 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 fd0 -> ../devices/platform/floppy.0/block/fd0 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop0 -> ../devices/virtual/block/loop0 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop1 -> ../devices/virtual/block/loop1 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop2 -> ../devices/virtual/block/loop2 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop3 -> ../devices/virtual/block/loop3 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop4 -> ../devices/virtual/block/loop4 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop5 -> ../devices/virtual/block/loop5 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop6 -> ../devices/virtual/block/loop6 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop7 -> ../devices/virtual/block/loop7 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram0 -> ../devices/virtual/block/ram0 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram1 -> ../devices/virtual/block/ram1 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram10 -> ../devices/virtual/block/ram10 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram11 -> ../devices/virtual/block/ram11 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram12 -> ../devices/virtual/block/ram12 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram13 -> ../devices/virtual/block/ram13 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram14 -> ../devices/virtual/block/ram14 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram15 -> ../devices/virtual/block/ram15 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram2 -> ../devices/virtual/block/ram2 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram3 -> ../devices/virtual/block/ram3 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram4 -> ../devices/virtual/block/ram4 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram5 -> ../devices/virtual/block/ram5 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram6 -> ../devices/virtual/block/ram6 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram7 -> ../devices/virtual/block/ram7 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram8 -> ../devices/virtual/block/ram8 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram9 -> ../devices/virtual/block/ram9 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sda -> ../devices/pci0000:00/0000:00:0f.0/host3/target3:0:0/3:0:0:0/block/sda lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sdb -> ../devices/pci0000:00/0000:00:10.4/usb1/1-5/1-5:1.0/host4/target4:0:0/4:0:0:0/block/sdb lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sdc -> ../devices/pci0000:00/0000:00:10.4/usb1/1-5/1-5:1.0/host4/target4:0:0/4:0:0:1/block/sdc lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sdd -> ../devices/pci0000:00/0000:00:10.4/usb1/1-5/1-5:1.0/host4/target4:0:0/4:0:0:2/block/sdd lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sde -> ../devices/pci0000:00/0000:00:10.4/usb1/1-5/1-5:1.0/host4/target4:0:0/4:0:0:3/block/sde lrwxrwxrwx 1 root root 0 2010-09-14 09:17 sdf -> ../devices/pci0000:00/0000:00:10.4/usb1/1-8/1-8:1.0/host5/target5:0:0/5:0:0:0/block/sdf lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sr0 -> ../devices/pci0000:00/0000:00:0f.1/host1/target1:0:0/1:0:0:0/block/sr0 lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sr1 -> ../devices/pci0000:00/0000:00:0f.0/host2/target2:0:0/2:0:0:0/block/sr1
Here it comes:
ls -l /dev/disk/by-id /sys/block
/dev/disk/by-id: HD502HI_ S1VZJ9DSA00758 -> ../../sda HD502HI_ S1VZJ9DSA00758- part1 -> ../../sda1 HD502HI_ S1VZJ9DSA00758- part2 -> ../../sda2 HD502HI_ S1VZJ9DSA00758- part5 -> ../../sda5 SAMSUNG_ HD502HIS1VZJ9DS A00758 -> ../../sda SAMSUNG_ HD502HIS1VZJ9DS A00758- part1 -> ../../sda1 SAMSUNG_ HD502HIS1VZJ9DS A00758- part2 -> ../../sda2 SAMSUNG_ HD502HIS1VZJ9DS A00758- part5 -> ../../sda5 iPod_000A270010 5C956C- 0:0 -> ../../sdf 0_CardReader_ CF_606569746801 -0:0 -> ../../sdb 0_CardReader_ MS_606569746801 -0:2 -> ../../sdd 0_CardReader_ SD_606569746801 -0:3 -> ../../sde 0_CardReader_ SM_XD_606569746 801-0:1 -> ../../sdc 11d69c1 -> ../../sda 11d69c1- part1 -> ../../sda1 11d69c1- part2 -> ../../sda2 11d69c1- part5 -> ../../sda5
insgesamt 0
lrwxrwxrwx 1 root root 9 2010-09-14 09:08 ata-SAMSUNG_
lrwxrwxrwx 1 root root 10 2010-09-14 09:08 ata-SAMSUNG_
lrwxrwxrwx 1 root root 10 2010-09-14 09:08 ata-SAMSUNG_
lrwxrwxrwx 1 root root 10 2010-09-14 09:08 ata-SAMSUNG_
lrwxrwxrwx 1 root root 9 2010-09-14 09:08 scsi-SATA_
lrwxrwxrwx 1 root root 10 2010-09-14 09:08 scsi-SATA_
lrwxrwxrwx 1 root root 10 2010-09-14 09:08 scsi-SATA_
lrwxrwxrwx 1 root root 10 2010-09-14 09:08 scsi-SATA_
lrwxrwxrwx 1 root root 9 2010-09-14 09:17 usb-Apple_
lrwxrwxrwx 1 root root 9 2010-09-14 09:08 usb-USB2.
lrwxrwxrwx 1 root root 9 2010-09-14 09:08 usb-USB2.
lrwxrwxrwx 1 root root 9 2010-09-14 09:08 usb-USB2.
lrwxrwxrwx 1 root root 9 2010-09-14 09:08 usb-USB2.
lrwxrwxrwx 1 root root 9 2010-09-14 09:08 wwn-0x50024e920
lrwxrwxrwx 1 root root 10 2010-09-14 09:08 wwn-0x50024e920
lrwxrwxrwx 1 root root 10 2010-09-14 09:08 wwn-0x50024e920
lrwxrwxrwx 1 root root 10 2010-09-14 09:08 wwn-0x50024e920
/sys/block: platform/ floppy. 0/block/ fd0 virtual/ block/loop0 virtual/ block/loop1 virtual/ block/loop2 virtual/ block/loop3 virtual/ block/loop4 virtual/ block/loop5 virtual/ block/loop6 virtual/ block/loop7 virtual/ block/ram0 virtual/ block/ram1 virtual/ block/ram10 virtual/ block/ram11 virtual/ block/ram12 virtual/ block/ram13 virtual/ block/ram14 virtual/ block/ram15 virtual/ block/ram2 virtual/ block/ram3 virtual/ block/ram4 virtual/ block/ram5 virtual/ block/ram6 virtual/ block/ram7 virtual/ block/ram8 virtual/ block/ram9 pci0000: 00/0000: 00:0f.0/ host3/target3: 0:0/3:0: 0:0/block/ sda pci0000: 00/0000: 00:10.4/ usb1/1- 5/1-5:1. 0/host4/ target4: 0:0/4:0: 0:0/block/ sdb pci0000: 00/0000: 00:10.4/ usb1/1- 5/1-5:1. 0/host4/ target4: 0:0/4:0: 0:1/block/ sdc pci0000: 00/0000: 00:10.4/ usb1/1- 5/1-5:1. 0/host4/ target4: 0:0/4:0: 0:2/block/ sdd pci0000: 00/0000: 00:10.4/ usb1/1- 5/1-5:1. 0/host4/ target4: 0:0/4:0: 0:3/block/ sde pci0000: 00/0000: 00:10.4/ usb1/1- 8/1-8:1. 0/host5/ target5: 0:0/5:0: 0:0/block/ sdf pci0000: 00/0000: 00:0f.1/ host1/target1: 0:0/1:0: 0:0/block/ sr0 pci0000: 00/0000: 00:0f.0/ host2/target2: 0:0/2:0: 0:0/block/ sr1
insgesamt 0
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 fd0 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop0 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop1 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop2 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop3 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop4 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop5 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop6 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 loop7 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram0 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram1 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram10 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram11 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram12 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram13 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram14 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram15 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram2 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram3 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram4 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram5 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram6 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram7 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram8 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 ram9 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sda -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sdb -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sdc -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sdd -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sde -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:17 sdf -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sr0 -> ../devices/
lrwxrwxrwx 1 root root 0 2010-09-14 09:09 sr1 -> ../devices/