ubuntu@ubuntu:~$ sudo parted -l
Model: ATA TOSHIBA MK5076GS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 106MB 105MB primary ntfs boot
2 106MB 126GB 126GB primary ntfs
3 126GB 500GB 374GB extended
5 126GB 500GB 374GB logical ntfs
Model: SMI USB DISK (scsi)
Disk /dev/sdb: 748MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 301MB 748MB 447MB primary fat32 boot, lba
Model: SMI USB DISK (scsi)
Disk /dev/sdc: 30.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 313MB 313MB primary ntfs boot
2 313MB 11.1GB 10.8GB primary ntfs
3 11.1GB 13.4GB 2303MB primary ntfs
4 13.4GB 30.7GB 17.3GB primary ntfs
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label
Warning: Unable to open /dev/sr1 read-write (Read-only file system). /dev/sr1
has been opened read-only.
Error: Can't have a partition outside the disk!
ubuntu@ubuntu:~$ ls -l /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root 9 Apr 22 11:29 pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:0 -> ../../sr1
lrwxrwxrwx 1 root root 9 Apr 22 13:35 pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:1 -> ../../sdb
lrwxrwxrwx 1 root root 10 Apr 22 13:20 pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:1-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Apr 22 13:35 pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:2 -> ../../sdc
lrwxrwxrwx 1 root root 10 Apr 22 11:29 pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:2-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Apr 22 11:29 pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:2-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 Apr 22 11:29 pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:2-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 Apr 22 11:29 pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:2-part4 -> ../../sdc4
lrwxrwxrwx 1 root root 9 Apr 22 13:35 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Apr 22 13:20 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 22 12:00 pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Apr 22 13:20 pci-0000:00:1f.2-scsi-0:0:0:0-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Apr 22 11:29 pci-0000:00:1f.2-scsi-0:0:0:0-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Apr 22 12:34 pci-0000:00:1f.2-scsi-1:0:0:0 -> ../../sr0