Commit Graph

31 Commits

Author SHA1 Message Date
grant
6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
wiz
5081d82d22 Punctuation vs. markup nits, and use .Dq instead of double quotes. 2002-06-26 18:07:21 +00:00
mjacob
41194c0e70 Add a bunch of stuff from Bob Nestor that fixes format to allow one to
specify device logical blocksize.

Furthermore, it also adds an 'immediate' option, which then sends more modern
devices into formatting in the background. scsictl still waits around and
sends a TEST UNIT READY every 10 seconds and, based upon the sense data
it gets back after the invariable CHECK CONDITION, prints out a progress
indicator (based upon SKSV progress in the sense data).

While we're at it, add a 'tur', 'reserve', 'release', 'start' and 'stop'
functions to the device commands.

Fix a long standing bug in scsi_command- the value in retsts is an integral
value- not a bitmask.
2002-06-26 16:04:11 +00:00
tsutsui
93fc30d106 21600000 -> 6*60*60*1000 (timeout in six hours for format command) 2002-04-14 03:24:42 +00:00
wiz
875bfce8db Sort sections, use standard section headers. 2001-11-16 11:26:53 +00:00
thorpej
b92e8081fa Fixup scsi_mode_select(). 2001-09-05 16:25:17 +00:00
wiz
e6b5422235 Fix a typo, and capitalize SCSI in one place. 2001-07-18 23:16:20 +00:00
bouyer
03fd5e671e Add and document a 'detach' command. 2001-07-18 20:36:36 +00:00
wiz
73f545bb5b Drop arguments of .Os. 2001-06-05 11:22:41 +00:00
bouyer
1047a6a764 Adapt for MODE SENSE/SELECT changes in kernel. 2001-05-15 15:11:02 +00:00
ad
bd8e0b62fb Let '\377' be whitespace. 2001-04-17 13:31:00 +00:00
jdolecek
4fe147ddbf xref se(4) now that the manpage is built and installed 2001-04-03 11:51:33 +00:00
wiz
dd7acb43b8 Don't xref nonexisting se(4). 2001-04-03 11:18:53 +00:00
ad
93e3741265 Remove superfluous newlines in calls to errx(). 2001-04-01 14:59:56 +00:00
cgd
8a986b2e96 convert to use getprogname() 2001-02-19 22:48:57 +00:00
ad
a42efe450c Fix typo. 2001-02-11 13:04:22 +00:00
kleink
141d219082 Use .Pa. 2000-07-08 10:28:17 +00:00
jdolecek
5aa5c9fa83 Add a note about what and where is printed for 'scan' command.
Addresses bin/9227 by <johnr@spimageworks.com>
2000-03-07 19:27:11 +00:00
mycroft
3d346bb5e5 Increase the format timeout to 6 hours. 1999-10-27 22:29:06 +00:00
mycroft
f6624fbbee Make `reassign' actually work. 1999-10-04 17:10:56 +00:00
ad
2829eb17d7 Make all' a synonym for the any' keyword. 1999-09-28 23:32:04 +00:00
mjl
89fa8aef99 Clarify usage message. 1999-08-13 21:12:18 +00:00
hubertf
958ed46f74 Collect all little usage-messages spread around into one place,
and as a side effect, print the available commands (and their
usage) if no command is given on the command line.

Approved by Jason Thorpe.
1999-07-30 02:29:04 +00:00
thorpej
d6f9f0986b Remove some extra spaces. 1999-03-15 23:20:23 +00:00
jwise
d3c740d725 Code to check if a cooked device was specified was failing even if the
cooked device was opened successfully.  Also fix a typo.

Fixes second part of PR bin/6883 for Soren S. Jorvang <soren@t.dk>
1999-02-24 18:51:39 +00:00
thorpej
c1425134ae Simple support for formatting a SCSI disk. This will be enhanced in
the near future.
1998-11-12 01:16:08 +00:00
thorpej
f5c016eea6 yoops, build manpage (duh) 1998-10-18 01:14:28 +00:00
thorpej
c0b197f941 Fix a thinko in the device opening code. 1998-10-17 05:08:27 +00:00
thorpej
d937146240 Oops, finish the description of the "scan" bus command. 1998-10-15 21:51:23 +00:00
thorpej
3c5483a351 Fix a couple of usage strings. 1998-10-15 21:49:09 +00:00
thorpej
c9a47c223b scsictl(8) - a program to manipulate SCSI devices and busses. Currently
supports:

Devices: identify, reassign blocks, reset

Busses: reset, scan for devices

Coming soon, device formatting, mode page editing, device freeze/thaw, etc.
1998-10-15 21:44:39 +00:00