driveinfo
A macOS command which provides partition information for GPT drives.
The driveinfo command gets detailed information about a specific drive. The script parses property lists emitted by the diskutil command to compile the information. If the drive contains a GUID Partition Table (GPT), then detailed information about each partition is also included in a tabular form. This also allows free space on a drive, using a GPT, to be identified.
The gpt command can be used to view the actual stored GPT values in in a tabular form. Starting with macOS, the gpt command...