Sc is a diagnostic tool for technical personnel. It is used to send commands to the SCSI devices.
Sc is a 32-bit program for use with Linux 2.0.30 version and later.
To see the available commands type:
$ sc ? <Enter>
$ sc ?
sc version 0.11 27 May 1997
Copyright (C) 1993-1997 Brown Computer Company. All rights reserved.
This program will execute individual scsi commands under Linux 2.0.30.
use sc dev_name "command args" +
or sc ?
where:
dev_name is an entry in /dev, such as /dev/st0;
command is one of the commands listed below; and
args are white space delimited tokens.
[] indicate an option. | indicates an exclusive choice.
+ indicates one required instance with optional repetitions.
"" should enclose commands which use additional arguments.
commands usage explanation
-------------------------------------------------------------------------
version v get administrator version
auto rs a automatic printing of rs data
tdr t test drive ready, device status
inquire i device manufacturer and model
load "l [retension] [bot | eot]"
capacity c get the storage capacity
mode "m [sense | select [save]]" select data is read from stdin
rsense rs request sense data
format f
wf "wf [count]" write filemarks
write w copy one block from stdin
zero z rewind or reset the device
sf "sf [count | eor]" filemark or end of recorded area
read r copy one block to stdout
unload u
help help prints this message
? ? prints this message
$
|