sg_readcap(8) on Linux
The text ad065e82bc9b, as Debian 12 (Bookworm), Debian 11 (Bullseye) shipped it.
send SCSI READ CAPACITY command
Flags it lists
-
--16 -
--help -
--hex -
--lba -
--long -
--new -
--old -
--pmi -
--raw -
--readonly -
--verbose -
--version -
--zbc -
-16 -
-H -
-L -
-N -
-O -
-R -
-V -
-b -
-h -
-l -
-lba -
-p -
-pmi -
-r -
-v -
-z