summaryrefslogtreecommitdiffstats
path: root/sbin/scsi
Commit message (Collapse)AuthorAgeFilesLines
* Correct typo.jkoshy1998-06-031-2/+2
| | | | | PR: 6844 Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
* Use err(3). Change exit(-1), and make exit values equal to 1 when errors.charnier1998-01-121-84/+52
| | | | Remove unused #includes.
* Correct -r and -f descriptions.brian1998-01-031-9/+5
| | | | Suggested by: joerg
* Add a "scsi -f /dev/ssc -p" example and xref ssc(4).brian1997-12-291-9/+14
| | | | Make the other examples prettier.
* Mention that the -r flag reprobes the entire bus on which the givenbrian1997-12-291-14/+25
| | | | | device resides and that the -f flag must specify the `whole slice' if it's a disk.
* The ``super scsi'' device is /dev/scc.brian1997-12-191-5/+2
| | | | I'm not sure it's fully functional though !
* Make it explicit that arguments to -c are in hex, while other numbers arejoerg1997-08-241-11/+22
| | | | | | | | in usual "C" notation. Also fixed the examples section. PR: 3313
* Various typos in man page. Cosmetic in usage string. Use err(3) insteadcharnier1997-06-182-34/+22
| | | | of fprintf. Remove unused variables.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Mdoc cleanup.mpp1997-03-191-71/+116
|
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | 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.
* Sort cross references.wosch1997-01-131-3/+3
|
* When MODE SELECT'ing, the ``device-specific parameter'' field isjoerg1996-10-051-2/+2
| | | | | | | reserved by the SCSI-2 specs. Hence, zero it out. Some drives (correctly) complain about this otherwise. Reviewed by: craigs@os.com (Craig Shrimpton)
* Use the .Fx macro where appropriate.mpp1996-08-231-3/+7
|
* Don't immediately give up if a single read() or write() wasn'tjoerg1996-04-061-5/+31
| | | | | sufficient to transfer all the data from stdin, or to stdout. Working on pipes causes further fragmentation.
* scsi(8) used to fall off the end of main(), returning an arbitraryjoerg1995-07-301-1/+2
| | | | | | | | value. Reviewed by: Submitted by: Obtained from:
* The mode page editor never cleaned up the temp files. Thanksdufault1995-07-111-1/+32
| | | | | to Joerg for noticing. This low risk bug fix is appropriate for 2.1.
* Remove trailing whitespace.rgrimes1995-05-301-9/+9
|
* Add support for editing mode pages.dufault1995-05-052-22/+266
|
* Don't print out zero length names when verbose is set.dufault1995-05-011-2/+2
|
* Add a "-s" argument to specify the command timeout in seconds.dufault1995-05-012-12/+23
| | | | | | 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.
* Add "-m" command to read mode pages. Also add -z for freezing,dufault1995-04-282-74/+333
| | | | though the kernel changes aren't committed yet.
* Remove "BUG" of not supporting arguments for "-o"dufault1995-04-171-14/+7
|
* Add support for arguments in output "-o" string.dufault1995-04-171-5/+28
|
* Fix verbose printout of "" namedufault1995-01-261-2/+2
|
* DPADD addedache1995-01-251-0/+1
|
* Submitted by: Julian Elischer and Peter Dufaultdufault1995-01-243-0/+640
Obtained from: 1.1.5 "scsi (8)" from 1.1.5, with added support for any command from the command line.
OpenPOWER on IntegriCloud