Commit | Line | Data |
---|---|---|
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 | |
21 | usage: scsi -f devicename [-d level] [-i] [-r [-b bus] [-t targ] [-l lun]] | |
22 | .Pp | |
23 | where r = reprobe, i = inquire, d = debug | |
24 | .Pp | |
25 | If debugging is not compiled in the kernel, 'd' will have no effect | |
26 | .Sh DESCRIPTION | |
27 | The | |
28 | .Nm Scsi | |
29 | program is used to give some simple commands to a scsi device. It is also | |
30 | really a sample usage of the general scsi commands. A more comprehensive | |
31 | program should be written. | |
32 | .Pp | |
33 | This program allows the operator to ask the systen to reprobe for | |
34 | more devices, and also to set any debug level on any scsi device. As | |
35 | a sample of a generic scsi command, it also can also perform a scsi | |
36 | .Em Enquiry | |
37 | command against the device against which it is openned. The | |
38 | reprobe can be aimed at any specific bus or target or even lun. | |
39 | By default it reprobes lun0 of all possible targets not yet taken. | |
40 | an lun of -1 will force testing of all LUNs. As a word of warning, this | |
41 | will override the system's caution about attaching devices not on lun0 | |
42 | so if a device responds to the | |
43 | .Em inquiry | |
44 | command on all luns (as many erroneously do), the system may think it has | |
45 | found a lot more devices, which are really just the bad luns of an existing | |
46 | device. | |
47 | ||
48 | .Pp | |
49 | .Sh SEE ALSO | |
50 | .Xr scsi 4 | |
51 | .Sh HISTORY | |
52 | The | |
53 | .Nm scsi | |
54 | command appeared in 386BSD 0.1.2.4/FreeBSD | |
55 |