diff options
Diffstat (limited to 'doc/sg_raw.8')
-rw-r--r-- | doc/sg_raw.8 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/sg_raw.8 b/doc/sg_raw.8 index 62fa3cc2..3e01bd02 100644 --- a/doc/sg_raw.8 +++ b/doc/sg_raw.8 @@ -1,4 +1,4 @@ -.TH SG_RAW "8" "December 2018" "sg3_utils\-1.45" SG3_UTILS +.TH SG_RAW "8" "January 2019" "sg3_utils\-1.45" SG3_UTILS .SH NAME sg_raw \- send arbitrary SCSI command to a device .SH SYNOPSIS @@ -193,7 +193,9 @@ bsg device. Note that data is being read from "urandom.bin" and sent to the device (data\-out) while resulting data (data\-in) is placed in the "out.bin" file. Also note the length of both is 512 bytes which corresponds to the transfer length of 1 (block) in the cdb (i.e. -the second last byte). +the second last byte). urandom.bin can be produced like this: +.br +dd if=/dev/urandom bs=512 count=1 of=urandom.bin .TP sg_raw.exe PhysicalDrive1 a1 0c 0e 00 00 00 00 00 00 e0 00 00 This example is from Windows and shows a ATA STANDBY IMMEDIATE command @@ -208,9 +210,9 @@ the sg3_utils(8) man page. .SH AUTHOR Written by Ingo van Lil .SH "REPORTING BUGS" -Report bugs to <inguin at gmx dot de>. +Report bugs to <inguin at gmx dot de> or to <dgilbert at interlog dot com>. .SH COPYRIGHT -Copyright \(co 2001\-2018 Ingo van Lil +Copyright \(co 2001\-2019 Ingo van Lil .br This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |