This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history] / sbin / scsi / scsi.1
CommitLineData
5d830f70
RG
1.\"
2.\" Written By Julian ELischer
3.\" Copyright julian Elischer 1993.
4.\" Permission is granted to use or redistribute this file in any way as long
5.\" as this notice remains. Julian Elischer does not guarantee that this file
6.\" is totally correct for any given task and users of this file must
7.\" accept responsibility for any damage that occurs from the application of this
8.\" file.
9.\"
10.\" (julian@tfs.com julian@dialix.oz.au)
11.\"
12.\" $Id$
13.\"
14.Dd October 11, 1993
15.Dt SCSI 1
16.Os BSD 4
17.Sh NAME
18.Nm scsi
19.Nd simple program to assist with scsi devices.
20.Sh SYNOPSIS
21usage: scsi -f devicename [-d level] [-i] [-r [-b bus] [-t targ] [-l lun]]
22.Pp
23where r = reprobe, i = inquire, d = debug
24.Pp
25If debugging is not compiled in the kernel, 'd' will have no effect
26.Sh DESCRIPTION
27The
28.Nm Scsi
29program is used to give some simple commands to a scsi device. It is also
30really a sample usage of the general scsi commands. A more comprehensive
31program should be written.
32.Pp
33This program allows the operator to ask the systen to reprobe for
34more devices, and also to set any debug level on any scsi device. As
35a sample of a generic scsi command, it also can also perform a scsi
36.Em Enquiry
37command against the device against which it is openned. The
38reprobe can be aimed at any specific bus or target or even lun.
39By default it reprobes lun0 of all possible targets not yet taken.
40an lun of -1 will force testing of all LUNs. As a word of warning, this
41will override the system's caution about attaching devices not on lun0
42so if a device responds to the
43.Em inquiry
44command on all luns (as many erroneously do), the system may think it has
45found a lot more devices, which are really just the bad luns of an existing
46device.
47
48.Pp
49.Sh SEE ALSO
50.Xr scsi 4
51.Sh HISTORY
52The
53.Nm scsi
54command appeared in 386BSD 0.1.2.4/FreeBSD
55