sg_raw
Send arbitrary SCSI command to a connected device. More information: https://manned.org/sg_raw.
- Send a command to an optical SCSI device assigned to
sr0to load the media in its tray:
sg_raw /dev/sr0 EA 00 00 00 00 01
- Read data from
IFILEinstead ofstdin:
sg_raw
- Skip the first
LENbytes of input data:
sg_raw
- Read
SLENbytes of data and send to the device:
sg_raw
- Wait up to
SECseconds forsg_rawto finish processing:
sg_raw
- Increase verbosity level by 1:
sg_raw
- Dump returned data in binary form:
sg_raw
- Write data received from the specified device to an
OFILE:
sg_raw
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
