History log of /src/sbin/scsictl/scsi_subr.c |
Revision | | Date | Author | Comments |
1.14 |
| 21-Feb-2012 |
jakllsch | Prevent stack buffer overflow when copying too-large-CDB into request.
|
1.13 |
| 21-Feb-2012 |
jakllsch | constify command data argument to scsi_command().
|
1.12 |
| 28-Apr-2008 |
martin | branches: 1.12.20; Remove clause 3 and 4 from TNF licenses
|
1.11 |
| 21-Feb-2005 |
thorpej | branches: 1.11.26; 1.11.28; Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name everything "scsi_*", since we really are talking about the SCSI command set, ATAPI transport not withstanding. Improve the names of many structures, and prepend "SCSI_" onto all SCSI command opcodes. Place items described by the SCSI Primary Commands document into scsi_spc.h.
|
1.10 |
| 05-Feb-2005 |
xtraeme | Kill __P(), use ANSI function declarations; WARNS=3.
|
1.9 |
| 08-Sep-2003 |
agc | Make this compile after the recent changes to the kernel.
|
1.8 |
| 23-Jun-2003 |
agc | Add NetBSD RCS Ids.
|
1.7 |
| 08-Oct-2002 |
soren | Add missing \n in error.
|
1.6 |
| 26-Jun-2002 |
mjacob | 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.
|
1.5 |
| 05-Sep-2001 |
thorpej | branches: 1.5.2; Fixup scsi_mode_select().
|
1.4 |
| 15-May-2001 |
bouyer | Adapt for MODE SENSE/SELECT changes in kernel.
|
1.3 |
| 17-Apr-2001 |
ad | Let '\377' be whitespace.
|
1.2 |
| 12-Nov-1998 |
thorpej | Simple support for formatting a SCSI disk. This will be enhanced in the near future.
|
1.1 |
| 15-Oct-1998 |
thorpej | 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.
|
1.5.2.1 |
| 28-Jul-2003 |
he | Pull up revisions 1.6-1.7 (requested by thorpej in ticket #764): Several changes/updates to scsictl: o Allow specification of logical blocksize o Add 'getcache' and 'setcache' commands o Add 'tur', 'reserve', 'release', 'start', and 'stop' functions o Add an 'immediate' option to do formatting in the background o Fix bug in scsi_command -- value in resets is an int not a bitmask o Fix usage of errx() / warnx() and remove unneeded trailing \n
|
1.11.28.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.11.26.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.12.20.1 |
| 17-Apr-2012 |
yamt | sync with head
|