thorpej
0683880e19
* Add "getcache" and "setcache" commands to get/set basic cache
...
parameters (enables, really).
* Fix an error in the manpage.
* Shuffle some code to group things together better.
2002-09-03 16:56:05 +00:00
grant
6742cb1812
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:36:17 +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
bouyer
03fd5e671e
Add and document a 'detach' command.
2001-07-18 20:36:36 +00:00
bouyer
1047a6a764
Adapt for MODE SENSE/SELECT changes in kernel.
2001-05-15 15:11:02 +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
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
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
c0b197f941
Fix a thinko in the device opening code.
1998-10-17 05:08:27 +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