sg_luns(8) on Linux
The text ccd918a25a7b, as Debian 4.0 (Etch) shipped it.
send the scsi command report luns
Flags it lists
-
--decode -
--help -
--verbose -
--version -
-V -
-d -
-h -
-v