OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / pcmcia-cs / draft / man8 / pcinitrd.8
1 .\" Copyright (C) 1998 David A. Hinds -- dhinds@pcmcia.sourceforge.org
2 .\" pcinitrd.8 1.11 2000/03/26 07:47:28
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 .\"
7 .TH PCINITRD 8 "2000/03/26 07:47:28" "pcmcia-cs"
8 .\"O .SH NAME
9 .\"O pcinitrd \- create a PCMCIA initrd ram disk image
10 .SH 名前
11 pcinitrd \- PCMCIA initrd RAM ディスクイメージを作成する
12 .\"O .SH SYNOPSIS
13 .SH 書式
14 .B pcinitrd
15 .RB [ -v ]
16 .RB [ -a ]
17 .RB [ --all ]
18 .RB [ "\-d\ "\c
19 .I alternate-root\c
20 ]
21 .RB [ \-\-dir=\c
22 .I alternate-root\c
23 ]
24 .RB [ "\-r\ "\c
25 .I kernel-release\c
26 ]
27 .RB [ \-\-release=\c
28 .I kernel-release\c
29 ]
30 .RB [ "\-s\ "\c
31 .I image-size\c
32 ]
33 .RB [ \-\-size=\c
34 .I image-size\c
35 ]
36 .RB [ -u ]
37 .RB [ --update ]
38 .I initrd-image
39 .RI [ "modules\ ..." ]
40 .\"O .SH DESCRIPTION
41 .SH 説明
42 .\"O The
43 .\"O .B pcinitrd
44 .\"O script creates an initrd ram disk image for booting with the root
45 .\"O filesystem on a PCMCIA device.  If the target is a block special
46 .\"O device (i.e.,
47 .\"O .IR /dev/fd0 ),
48 .\"O then the initrd image is created on that device.  If the target does
49 .\"O not already exist or if it is an ordinary file, then
50 .\"O .B pcinitrd
51 .\"O will create the image file using the ``loopback'' device.
52 .B pcinitrd
53 スクリプトは、
54 PCMCIA デバイス上に root ファイルシステムがある場合のブート用
55 initrd RAM ディスクイメージを作成する。
56 この initrd イメージは
57 ターゲットがブロックスペシャルデバイス (例:
58 .IR /dev/fd0 )
59 の場合は、 initrd イメージはそのデバイス上に作成される。
60 ターゲットが存在していない場合や通常のファイルだった場合は、
61 .B pcinitrd
62 はイメージファイルを "loopback" デバイスを用いて作成する。
63 .PP
64 .\"O Modules are specified with paths relative to
65 .\"O .IR /lib/modules/[kernel-release] .
66 .\"O The core PCMCIA modules
67 .\"O .RI ( pcmcia/pcmcia_core
68 .\"O and
69 .\"O .IR  pcmcia/ds )
70 .\"O will automatically be installed in the target image.  All other
71 .\"O device-specific modules need to be listed on the command line,
72 .\"O along with the appropriate socket driver
73 .\"O .RI ( pcmcia/i82365.o
74 .\"O or
75 .\"O .IR pcmcia/tcic.o ).
76 .\"O Alternatively, if
77 .\"O .B -a
78 .\"O is specified, then all available PCMCIA socket drivers and block
79 .\"O device drivers will be included in the image.  Additional files to be
80 .\"O copied to the initrd image may also be listed on the command line.
81 .\"O Executable programs will be installed in
82 .\"O .IR /bin ,
83 .\"O shared libraries will be installed in
84 .\"O .IR /lib ,
85 .\"O device files will be installed in
86 .\"O .IR /dev ,
87 .\"O and any other files will be placed in
88 .\"O .IR /etc .
89 モジュールは
90 .IR /lib/modules/[kernel-release]
91 からの相対パスで指定する。コア PCMCIA モジュール
92 .RI ( pcmcia/pcmcia_core
93
94 .IR  pcmcia/ds )
95 はターゲットイメージに自動的にインストールされる。
96 他の各デバイス用のモジュールと
97 適切なソケットドライバ
98 .RI ( pcmcia/i82365.o
99 または
100 .IR pcmcia/tcic.o )
101 のモジュールとはコマンドラインにリストする必要がある。
102 あるいは
103 .B \-a
104 を指定すれば、入手可能な全ての PCMCIA ソケットドライバと
105 ブロックデバイスドライバとがイメージに入れられる。
106 initrd イメージにコピーしたい他のファイルをコマンドラインにリストしてもよい。
107 実行ファイルは
108 .I /bin
109 に、共有ライブラリは
110 .I /lib
111 に、デバイスファイルは
112 .I /dev
113 に、他の全てのファイルは
114 .I /etc
115 にインストールされる。
116 .PP
117 .\"O The startup script in the resulting image,
118 .\"O .IR linuxrc ,
119 .\"O may need to be customized for a particular system.  It contains the
120 .\"O same variable definitions as the normal PCMCIA startup scripts (i.e.,
121 .\"O .BR PCIC= ,
122 .\"O .BR PCIC_OPTS= ,
123 .\"O and
124 .\"O .B CORE_OPTS=
125 .\"O variables).  The
126 .\"O .I /etc/config.opts
127 .\"O file may also need to be edited.  Any changes to
128 .\"O .I linuxrc
129 .\"O or
130 .\"O .I config.opts
131 .\"O will be preserved if
132 .\"O .B pcinitrd
133 .\"O is executed in ``update'' mode.
134 結果のイメージに入る起動スクリプト
135 .I linuxrc
136 は、それぞれのシステムにあわせてカスタマイズする必要がある。
137 このスクリプトには、通常の PCMCIA 起動スクリプトのように、
138 いくつかの変数定義 (例えば
139 .BR PCIC= ", " PCIC_OPTS ", " CORE_OPTS " など)"
140 が含まれる。
141 .I /etc/config.opts
142 ファイルも編集が必要かもしれない。
143 .IR linuxrc " または " config.opts
144 に行った全ての変更は、
145 .B pcinitd
146 を "update" モードで実行されていれば保存される。
147 .PP
148 .\"O Another feature of the generated
149 .\"O .I linuxrc
150 .\"O is that if the
151 .\"O .B DEBUG
152 .\"O variable is set to a non-blank string at the boot prompt, then cardmgr
153 .\"O will echo all its status messages to the console, and after
154 .\"O .I linuxrc
155 .\"O executes, it will fire up a shell on the console.  This can be helpful
156 .\"O for debugging initrd problems.  However, few commands are available in
157 .\"O the normal initrd environment.
158 作成される
159 .I linuxrc
160 の別の機能として、もし
161 .B DEBUG
162 変数がブートプロンプトで空白文字列以外に設定されると、
163 cardmgr は全ての状態メッセージをコンソールに表示し、
164 .I linuxrc
165 が実行されると、コンソールにシェルを起動する。
166 これは initrd の障害をデバッグする助けになるだろう。
167 ただ、普通の initrd 環境で使えるコマンドはほとんどないが。
168 .\"O .SH OPTIONS
169 .SH オプション
170 .TP
171 .B \-v
172 .\"O Verbose mode.  Identify files as they are copied.
173 詳細表示モード。ファイルがコピーされるたびに表示する。
174 .TP
175 \fB\-a\fR, \fB\-\-all\fR
176 .\"O Install all socket drivers and block-style PCMCIA device drivers,
177 .\"O including memory card, SCSI card, and fixed-disk drivers.  This is
178 .\"O mainly intended for use by package maintainers.
179 全てのソケットドライバとブロック形式の
180 PCMCIA デバイスドライバをインストールする。
181 メモリーカード・ SCSI カード・固定ディスクドライバなどもインストールされる。
182 これはパッケージ管理者向けのものである。
183 .TP
184 \fB\-d\fI alternate-root\fR, \fB\-\-dir=\fIalternate-root\fR
185 .\"O Specifies an alternate directory tree to search for all the files used
186 .\"O to put together the initrd image.  This may be helpful for running 
187 .\"O .B pcinitrd
188 .\"O after booting from an installation or rescue diskette.
189 initrd イメージに追加する各ファイルを検索するディレクトリツリーを別に指定する。
190 これはインストールフロッピーやレスキューフロッピーからブートした後に
191 .B pcinitrd
192 を実行する場合に便利である。
193 .TP
194 \fB\-r\fI kernel-release\fR, \fB\-\-release=\fIkernel-release\fR
195 .\"O Specifies the kernel release number (i.e., 2.0.28) to use when looking
196 .\"O for modules in /lib/modules.  The default is the release of the
197 .\"O running kernel.
198 モジュールを
199 .I /lib/modules
200 から探す際に用いるカーネルのリリース番号 (例: 2.0.28) を指定する。
201 デフォルトは現在実行しているカーネルのリリース番号である。
202 .TP
203 \fB\-s\fI image-size\fR, \fB\-\-size=\fIimage-size\fR
204 .\"O Specifies the filesystem size to create on the target file or device,
205 .\"O in 1k blocks.  The default is 1440.
206 ターゲットのファイルやデバイスに作成するファイルシステムのサイズを
207 1k ブロック単位で指定する。デフォルトは 1440。
208 .TP
209 \fB\-u\fR, \fB\-\-update\fR
210 .\"O Update mode: updates
211 .\"O .B cardmgr
212 .\"O and all the kernel modules in an existing initrd image, but does not
213 .\"O modify other files.
214 更新モード:
215 initrd イメージに含まれる
216 .B cardmgr
217 と全てのカーネルモジュールを更新する。しかし他のファイルは変更しない。
218 .\"O .SH AUTHOR
219 .SH 著者
220 David Hinds \- dhinds@pcmcia.sourceforge.org
221 .\"O .SH "SEE ALSO"
222 .SH 関連項目
223 .\"O pcmcia(5), cardmgr(8), lilo(8).
224 .BR pcmcia (5),
225 .BR cardmgr (8),
226 .BR  lilo (8)
227