OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / pcmcia-cs / original / man8 / scsi_info.8
1 .\" Copyright (C) 1998 David A. Hinds -- dahinds@users.sourceforge.net
2 .\" scsi_info.8 1.7 2000/06/12 21:24:49
3 .\"
4 .TH SCSI_INFO 8 "2000/06/12 21:24:49" "pcmcia-cs"
5 .SH NAME
6 scsi_info \- SCSI device description tool
7 .SH SYNOPSIS
8 .B scsi_info
9 .I device
10 .SH DESCRIPTION
11 .B Scsi_info
12 opens the specified SCSI device file, and retrieves its
13 actual SCSI address parameters.  It also looks up the device in
14 .I /proc/scsi/scsi
15 and retrieves the device's vendor information, if available.  Its
16 output is a pair of Bourne-style shell commands to define the
17 .B SCSI_ID
18 and
19 .B MODEL
20 variables based on this information.  The
21 .B SCSI_ID
22 variable has three comma-separated fields: the SCSI channel number,
23 the device ID, and the logical unit number.  In most cases, the
24 channel and logical unit will be 0.
25 .PP
26 The reason for the existence of this utility lies in the peculiar
27 method for assigning minor device numbers to Linux SCSI devices.
28 Devices are numbered based on the order in which they are detected,
29 irrespective of their device addresses.  This tool automatically
30 converts these arbitrary device assignments back to the
31 user-configured addresses.
32 .SH AUTHOR
33 David Hinds \- dahinds@users.sourceforge.net