OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / pcmcia-cs / draft / 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 .\" Japanese Version Copyright (c) 2000 NAKANO Takeo all rights reserved.
5 .\" Translated Sun May 14 2000 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
6 .\" Updated Tue Oct 24 20:08:41 JST 2000
7 .\"    by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
8 .\"
9 .TH SCSI_INFO 8 "2000/06/12 21:24:49" "pcmcia-cs"
10 .\"O .SH NAME
11 .\"O scsi_info \- SCSI device description tool
12 .SH 名前
13 scsi_info \- SCSI デバイス記述ツール
14 .\"O .SH SYNOPSIS
15 .SH 書式
16 .B scsi_info
17 .I device
18 .\"O .SH DESCRIPTION
19 .SH 説明
20 .\"O .B Scsi_info
21 .\"O opens the specified SCSI device file, and retrieves its
22 .\"O actual SCSI address parameters.  It also looks up the device in
23 .\"O .I /proc/scsi/scsi
24 .\"O and retrieves the device's vendor information, if available.  Its
25 .\"O output is a pair of Bourne-style shell commands to define the
26 .\"O .B SCSI_ID
27 .\"O and
28 .\"O .B MODEL
29 .\"O variables based on this information.  The
30 .\"O .B SCSI_ID
31 .\"O variable has three comma-separated fields: the SCSI channel number,
32 .\"O the device ID, and the logical unit number.  In most cases, the
33 .\"O channel and logical unit will be 0.
34 .B scsi_info
35 は指定した SCSI デバイスファイルをオープンし、
36 デバイスの実際の SCSI アドレスパラメータを取得する。
37 またそのデバイスについて
38 .I /proc/scsi/scsi
39 を参照し、可能な場合はデバイスのベンダ情報を取得する。
40 このコマンドの出力は、シェル変数
41 .BR SCSI_ID " と " MODEL
42 を取得した情報に基づいて定義する、
43 Bourne 系シェルのコマンド文字列になっている。
44 .B SCSI_ID
45 シェル変数は 3 つのフィールドからなる (各フィールドはコンマで区切られる):
46 SCSI チャネル番号・デバイス ID・論理ユニット番号、である。
47 ほとんどの場合はチャネルと論理ユニットは 0 であろう。
48 .PP
49 .\"O The reason for the existence of this utility lies in the peculiar
50 .\"O method for assigning minor device numbers to Linux SCSI devices.
51 .\"O Devices are numbered based on the order in which they are detected,
52 .\"O irrespective of their device addresses.  This tool automatically
53 .\"O converts these arbitrary device assignments back to the
54 .\"O user-configured addresses.
55 このユーティリティの存在する理由は、 Linux での
56 SCSI デバイスへのマイナーデバイス番号の割り当て方法がちょっと
57 変わっているからである。デバイスの番号付けは、
58 デバイス番号に関係なく、検知された順序で行われる。
59 このツールを使うと、このように順序のわからないデバイス割り当てを、
60 ユーザの設定したアドレスに自動的に変換できる。
61 .\"O .SH AUTHOR
62 .SH 著者
63 David Hinds \- dahinds@users.sourceforge.net
64