Commit Graph

23 Commits

Author SHA1 Message Date
brian
9564a08fa8 The ``super scsi'' device is /dev/scc.
I'm not sure it's fully functional though !
1997-12-19 14:14:26 +00:00
joerg
1bb3924f27 Make it explicit that arguments to -c are in hex, while other numbers are
in usual "C" notation.

Also fixed the examples section.

PR:		3313
1997-08-24 08:50:25 +00:00
charnier
6708198883 Various typos in man page. Cosmetic in usage string. Use err(3) instead
of fprintf. Remove unused variables.
1997-06-18 06:37:23 +00:00
imp
167db52912 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 03:33:12 +00:00
mpp
5c33e549a5 Mdoc cleanup. 1997-03-19 22:42:02 +00:00
peter
4968036f61 Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wosch
71f5160702 Sort cross references. 1997-01-13 00:25:51 +00:00
joerg
43846dc578 When MODE SELECT'ing, the ``device-specific parameter'' field is
reserved by the SCSI-2 specs.  Hence, zero it out.  Some drives
(correctly) complain about this otherwise.

Reviewed by:	craigs@os.com (Craig Shrimpton)
1996-10-05 17:40:20 +00:00
mpp
b4aab8b6f6 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
joerg
434cdc4bf4 Don't immediately give up if a single read() or write() wasn't
sufficient to transfer all the data from stdin, or to stdout.  Working
on pipes causes further fragmentation.
1996-04-06 11:00:28 +00:00
joerg
50c0a0cba1 scsi(8) used to fall off the end of main(), returning an arbitrary
value.

Reviewed by:
Submitted by:
Obtained from:
1995-07-30 12:58:47 +00:00
dufault
6a1dea5dbe The mode page editor never cleaned up the temp files. Thanks
to Joerg for noticing.  This low risk bug fix is appropriate for
2.1.
1995-07-11 09:21:33 +00:00
rgrimes
f3a2b348da Remove trailing whitespace. 1995-05-30 06:12:45 +00:00
dufault
3f2591aedf Add support for editing mode pages. 1995-05-05 20:42:00 +00:00
dufault
77ae782956 Don't print out zero length names when verbose is set. 1995-05-01 12:54:32 +00:00
dufault
adef302b24 Add a "-s" argument to specify the command timeout in seconds.
Now you should be able to format a disk with something like:
> scsi -f /dev/rsd?c -s 1200 -c "4 0 0 0 0 0"
assuming sd.c lets you open it.
1995-05-01 12:35:05 +00:00
dufault
0066e95aad Add "-m" command to read mode pages. Also add -z for freezing,
though the kernel changes aren't committed yet.
1995-04-28 19:24:39 +00:00
dufault
d2dce54f6d Remove "BUG" of not supporting arguments for "-o" 1995-04-17 14:51:54 +00:00
dufault
040c684860 Add support for arguments in output "-o" string. 1995-04-17 14:35:07 +00:00
dufault
34ecc54a2c Fix verbose printout of "" name 1995-01-26 23:40:40 +00:00
ache
e9afac40c9 DPADD added 1995-01-25 20:25:57 +00:00
dufault
2b302b8741 Submitted by: Julian Elischer and Peter Dufault
Obtained from: 1.1.5

"scsi (8)" from 1.1.5, with added support for any command from
the command line.
1995-01-24 12:07:27 +00:00