sg_raw

Send arbitrary SCSI command to a connected device. More information: https://manned.org/sg_raw.

sg_raw /dev/sr0 EA 00 00 00 00 01

sg_raw {{[-i|--infile]}} {{path/to/IFILE}} {{/dev/sgX}} {{SCSI_command}}

sg_raw {{[-k|--skip]}} {{LEN}} {{/dev/sgX}} {{SCSI_command}}

sg_raw {{[-s|--send]}} {{SLEN}} {{/dev/sgX}} {{SCSI_command}}

sg_raw {{[-t|--timeout]}} {{SEC}} {{/dev/sgX}} {{SCSI_command}}

sg_raw {{[-v|--verbose]}} {{/dev/sgX}} {{SCSI_command}}

sg_raw {{[-b|--binary]}} {{/dev/sgX}} {{SCSI_command}}

sg_raw {{[-o|--outfile]}} {{path/to/OFILE}} {{/dev/sgX}} {{SCSI_command}}