lsdisk
The program creates a list of attached disks without root privileges.
..., end and size in sectors and Bytes
- filesystem (if mounted)
- mountpoint (if mounted)
- label
- UUID
When the script runs with root privileges, there are three more information: EFI- or BIOS-Mainboard, name of the partition table (msdos. GPT, ...) and the partion-id by partition without UUID, e.G.: ID 05, extended.
Call with option -a:
List information about the partition table
- MBR (Boot + ID, Start-CHS, ID, End-CHS, LBA1, LBA2)
- GPT ( all entries, incl. GUIDs)