sg_rmsn(8) on Linux
The text 636e895d0aaf, as Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster), Debian 9 (Stretch), Debian 8 (Jessie) shipped it.
send SCSI READ MEDIA SERIAL NUMBER command
Flags it lists
-
--help -
--raw -
--readonly -
--verbose -
--version -
-R -
-V -
-h -
-r -
-v