sg_rep_density: unrecognized option '--json' Usage: sg_rep_density [--help] [--hex] [--inhex=FN] [--maxlen=LEN] [--media] [--raw] [--readonly] [--typem] [--verbose] [--version] DEVICE where: --help|-h prints out this usage message --hex|-H output response in hexadecimal (default); used twice: hex without addresses at start of line --inhex=FN decode contents of FN, ignore DEVICE --maxlen=LEN|-m LEN max response length (allocation length in cdb) (def: 512 bytes) --media|-M report on media in drive (def: report on drive) --raw|-r output response in binary --readonly|-R open DEVICE read-only (def: read-write) --typem|-t report medium types (def: density codes) --verbose|-v increase verbosity --version|-V print version string and exit Sends a SCSI REPORT DENSITY SUPPORT command outputs the response in ASCII hexadecimal or binary. By default it reports on density codes supported by the drive (LU).