Philippe Charnier
14cf3a5d8f
Spelling. Errx() on malloc() failure.
1998-07-28 06:42:38 +00:00
Bruce Evans
836b4a7ff9
Fixed printf format errors.
1998-06-28 20:33:36 +00:00
Joseph Koshy
5caffabdc3
Correct typo.
...
PR: 6844
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
1998-06-03 03:59:00 +00:00
Philippe Charnier
6fa99bdbd2
Use err(3). Change exit(-1), and make exit values equal to 1 when errors.
...
Remove unused #includes.
1998-01-12 07:57:57 +00:00
Brian Somers
fc2c67eac5
Correct -r and -f descriptions.
...
Suggested by: joerg
1998-01-03 10:11:38 +00:00
Brian Somers
2267b3199c
Add a "scsi -f /dev/ssc -p" example and xref ssc(4).
...
Make the other examples prettier.
1997-12-29 21:08:33 +00:00
Brian Somers
a7a660bdb8
Mention that the -r flag reprobes the entire bus on which the given
...
device resides and that the -f flag must specify the `whole slice'
if it's a disk.
1997-12-29 15:17:57 +00:00
Brian Somers
867ca4ed97
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 Wunsch
ca4da38dc6
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
Philippe Charnier
b5f058fc9b
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
Warner Losh
8d64695c7c
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
Mike Pritchard
d92630300f
Mdoc cleanup.
1997-03-19 22:42:02 +00:00
Peter Wemm
c0ec1f37ef
Revert $FreeBSD$ to $Id$
1997-02-22 14:40:44 +00:00
Jordan K. Hubbard
1130b656e5
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
Wolfram Schneider
af20215665
Sort cross references.
1997-01-13 00:25:51 +00:00
Joerg Wunsch
afb3e96f8a
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
Mike Pritchard
85cf659a76
Use the .Fx macro where appropriate.
1996-08-23 00:57:08 +00:00
Joerg Wunsch
db6ddd3598
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 Wunsch
69c06b0c7f
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
Peter Dufault
ca4b4242c9
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
Rodney W. Grimes
5ebc7e6281
Remove trailing whitespace.
1995-05-30 06:12:45 +00:00
Peter Dufault
9a8e4e5bdc
Add support for editing mode pages.
1995-05-05 20:42:00 +00:00
Peter Dufault
2473679b38
Don't print out zero length names when verbose is set.
1995-05-01 12:54:32 +00:00
Peter Dufault
1995d212e9
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
Peter Dufault
0d30b20ac9
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
Peter Dufault
a478e06bfc
Remove "BUG" of not supporting arguments for "-o"
1995-04-17 14:51:54 +00:00
Peter Dufault
de1d7f1b4a
Add support for arguments in output "-o" string.
1995-04-17 14:35:07 +00:00
Peter Dufault
daa21be5f0
Fix verbose printout of "" name
1995-01-26 23:40:40 +00:00
Andrey A. Chernov
88b0c79e5b
DPADD added
1995-01-25 20:25:57 +00:00
Peter Dufault
2208cace06
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