SG_READ_BUFFER(8) SG3_UTILS SG_READ_BUFFER(8) (NAME) sg_read_buffer - SCSI READ BUFFER (SYNOPSIS) sg_read_buffer [--eh_code=EHC] [--help] [--hex] [--id=ID] [--inhex=FN] [--length=LEN] [--mode=MO] [--no_output] [--offset=OFF] [--raw] [--readonly] [--specific=MS] [--verbose] [--version] DEVICE (DESCRIPTION) SCSI READ BUFFER DEVICE . <<>> (descriptor) --hex --raw . --raw . ('rd_microc_st' [0xf]) ('err_hist' [0x1c]) spc6r06.pdf T10 . DEVICE --inhex=FN . FN ( '-' ) . ( stdin) ( ) SCSI READ BUFFER . (OPTIONS) . -e, --eh_code=EHC EHC Buffer ID cdb . Mode err_hist [0x1c] . '--mode=eh --id=EHC' . . () ( ). EHC 0 ( --hex --raw ). -h, --help . . -H, --hex . ASCII . () --inhex=FN . -i, --id=ID Buffer ID cdb . ID 0 () 255 . Buffer ID Mode cdb . -I, --inhex=FN FN ( '-' ) ASCII READ BUFFER . . --mode=MO --id=ID --specific=MS . "HEX, BINARY AND JSON FORMATS" sg3_utils . --raw FN . -l, --length=LEN LEN "allocation length" cdb . () 'err_hist' [0x1c] . . --inhex=FN . FN . -m, --mode=MO mode cdb . MO 0 () 31 . . (MODES) . ( '--mode=xxx'). '--mode=desc' . -N, --no_output SCSI DEVICE . READ BUFFER . DEVICE 'data' [0x2] . -o, --offset=OFF buffer offset cdb . OFF 0 () 2**24-1 . . -r, --raw . --inhex=FN FN ASCII ( __ ). -R, --readonly DEVICE ( O_RDONLY). - . -S, --specific=MS mode specific cdb . MS 0 7 . -v, --verbose ( ) . -V, --version . (MODES) READ BUFFER MODE . MO . MO . . hd [0, 0x0] ( SPC-4 ). vendor [1, 0x1] (Vendor specific). data [2, 0x2] (Data). desc [3, 0x3] (Descriptor): ( ) ( ) . echo [10, 0xa] ( SPC-3 "Echo buffer" ). echo_desc [11, 0xb] : () . . rd_microc_st [15, 0xf] . spc5r20 . en_ex [26, 0x1a] . SPC-4 . err_hist|eh [28, 0x1c] . 'err_hist' 'eh' . SPC-4 . (NOTES) . "0x" "0X" ( "h" "H") . (EXIT STATUS) sg_read_buffer 0 . sg3_utils(8) . (AUTHORS) Luben Tuikov Douglas Gilbert. (REPORTING BUGS) . (COPYRIGHT) Copyright (C) 2006-2023 Luben Tuikov and Douglas Gilbert BSD-2-Clause . . (SEE ALSO) sg_write_buffer(sg3_utils) sg3_utils-1.48 June 2023 SG_READ_BUFFER(8)