sg_scan(8) on Linux
The text 556e95b53d1c, as Debian 4.0 (Etch) shipped it.
does a scan of sg devices (or given SCSI/ATAPI/ATA devices) and prints the results
Flags it lists
-
-a -
-i -
-n -
-w -
-x