1 .\" Copyright 1992, 1993 Rickard E. Faith (faith@cs.unc.edu)
2 .\" May be distributed under the GNU General Public License
3 .\" Changes from sct@dcs.ed.ac.uk added Sat Oct 9 09:54:00 1993.
5 .\" Japanese Version Copyright (c) 1997 Koso Fukuba
6 .\" all rights reserved.
7 .\" Translated Mon Jan 27 12:00:00 JST 1997
8 .\" by Koso Fukuba <koso@ga2.so-net.or.jp>
9 .\" Updated and Modified Mon Feb 26 19:23:38 JST 2001
10 .\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
11 .\" Updated Sat Jun 9 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
12 .\" Updated Tue May 10 JST 2005 by Kentaro Shirakata <argrath@ub32.org>
14 .TH RDEV 8 "20 November 1993" "Linux 0.99" "Linux Programmer's Manual"
17 .\"O rdev \- query/set image root device, RAM disk size, or video mode
18 rdev \- ルートデバイス・RAM ディスクサイズ・ビデオモードの問い合わせと設定
22 .BR "rdev [ \-rvh ] [ \-o " offset " ] [ " image " [ " value " [ " offset " ] ] ]"
23 .BR "rdev [ \-Rrvh ] [ \-o " offset " ] [ " image " [ " value " [ " offset " ] ] ]"
24 .BR "ramsize [ \-o " offset " ] [ " image " [ " size " [ " offset " ] ] ]"
25 .BR "vidmode [ \-o " offset " ] [ " image " [ " mode " [ " offset " ] ] ]"
26 .BR "rootflags [ \-o " offset " ] [ " image " [ " flags " [ " offset " ] ] ]"
30 .\"O With no arguments,
34 .\"O line for the current root file system.
36 を引数なしで起動すると、現在のルートファイルシステムに対応する
39 .\"O With no arguments,
40 .\"O .BR ramsize ", " vidmode ", and " rootflags
41 .\"O print usage information.
42 .BR ramsize ", " vidmode ", " rootflags
43 を引数なしで起動すると、使用方法が表示される。
45 .\"O In a bootable image for the Linux kernel on i386, there are several pairs
46 .\"O of bytes which specify the root device, the video mode, and the size of
47 .\"O the RAM disk. These pairs of bytes, by default, begin
48 .\"O at offset 504 (decimal) in the kernel image:
49 i386 の Linux カーネルのブート可能なイメージには、ルートデバイス・ビデオモード・
50 RAM ディスクサイズを指定するための数バイトの領域がある。
52 カーネルイメージのオフセット 504 (10 進) から始まる。
57 .\"O (500 and 502 Reserved)
58 .\"O 504 RAM Disk Size
61 .\"O (510 Boot Signature)
72 .\"O will change these values.
76 .\"O Typical values for the
78 .\"O parameter, which is a bootable Linux kernel image, might be:
81 を指定する場合の典型的な値は、次のようなものである:
97 .\"O parameter might be something like:
113 .\"O One may also specify the device by a comma-separated pair
114 .\"O of decimal integers
115 .\"O .IR major , minor .
116 あるいは、デバイスをコンマで区切られた十進数の組
124 .\"O parameter specifies the size of the RAM disk in kilobytes.
128 パラメータに RAM ディスクサイズをキロバイト(KB) 単位で指定する。
134 .\"O parameter contains extra information used when mounting root.
139 ルートディスクをマウントするときに使用されるオプション情報を指定する。
140 .\"O Currently the only effect of these flags is to force the kernel to
141 .\"O mount the root filesystem in readonly mode if
144 今のところこれらのフラグの効果はひとつだけで、
146 がゼロでないと、カーネルはルートファイルシステムを
147 リードオンリーモードでマウントする、というだけである。
153 .\"O parameter specifies the video mode:
157 パラメータに以下のビデオモードを指定する:
162 .\"O -2 = Extended VGA
164 .\"O 0 = as if "0" was pressed at the prompt
165 .\"O 1 = as if "1" was pressed at the prompt
166 .\"O 2 = as if "2" was pressed at the prompt
167 .\"O n = as if "n" was pressed at the prompt
171 0 = プロンプトで "0" が入力されたのと同じ働きをする。
172 1 = プロンプトで "1" が入力されたのと同じ働きをする。
173 2 = プロンプトで "2" が入力されたのと同じ働きをする。
174 n = プロンプトで "n" が入力されたのと同じ働きをする。
180 .\"O is not specified, the
182 .\"O will be examined to determine the current settings.
184 が指定されない場合、現在の設定を決めるために
227 .\"O utility, when used other than to find a name for the current root device,
228 .\"O is an ancient hack that works by patching a kernel image at a magic offset
229 .\"O with magic numbers. It does not work on architectures other than i386.
231 ユーティリティの、現在のルートデバイス名を表示する以外の機能は、
232 カーネルイメージの決め打ちのオフセットに決め打ちの数値を書き込むことによって
234 これは i386 以外のアーキテクチャでは動作しない。
235 .\"O Its use is strongly discouraged. Use a boot loader like SysLinux or LILO
238 SysLinux や LILO のようなブートローダを代わりに使うこと。
241 .\"O At offset 502 there used to be the device number of the swap device
242 .\"O (in Linux 0.12), and "rdev -s" or "swapdev" would set this.
243 オフセット 502 は以前 (Linux 0.12 の頃) スワップデバイスの
245 "rdev -s" や "swapdev" でそれを設定できた。
246 .\"O However, since Linux 0.95 this constant is not used any longer,
247 .\"O and the swap device is specified using the
250 しかし、 Linux 0.95 からはこの定数は使われなくなり、
255 .\"O At offset 504 there used to be the size of the ramdisk in kilobytes.
256 .\"O One would specify a size, and this much was grabbed off the top of memory.
257 ここでオフセット 504 はラムディスクの容量(キロバイト単位)として使われていた。
258 これは容量を指定し、メモリの先頭から取られていた。
259 .\"O In Linux 1.1.39 it became also possible to set this value on the kernel
261 Linux 1.1.39 で、この値をカーネルコマンドラインからも設定できるようになった。
262 .\"O In Linux 1.3.48 the ramdisk setup was changed. Ramdisk memory is now
263 .\"O taken from the buffer cache, so that the ramdisk can grow dynamically.
264 Linux 1.3.48 で、ラムディスクの設定方法が変更された。
265 ラムディスクのメモリはバッファキャッシュから取られるようになり、
266 そのため、ラムディスクの容量を動的に増加させることができるようになった。
267 .\"O The interpretation of the ramdisk word was changed to a word of which
268 .\"O the high order bit is a prompt flag (1: prompt for ramdisk:
269 .\"O "VFS: Insert ramdisk floppy and press ENTER" - this is needed with a
270 .\"O two-floppy boot), the next bit a load flag (1: load ramdisk),
271 .\"O and the low order 11 bits give the starting block number of the
272 .\"O root filesystem image (so that one can have a single floppy boot).
273 ラムディスクワードの解釈も変更され、最上位ビットはプロンプトフラグ
275 "VFS: Insert ramdisk floppy and press ENTER" を表示する - これは
276 フロッピー 2 枚によるブートに必要である)、次のビットはロードフラグ
277 (1: ラムディスクに読み込む)、そして下位の 11 ビットは(フロッピー 1 枚による
278 ブートのための)ルートファイルシステムイメージの開始ブロック番号となった。
280 .\"O .IR linux/Documentation/ramdisk.txt .
281 .I linux/Documentation/ramdisk.txt
286 .\"O Originally by Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
287 .\"O Modified by Peter MacDonald (pmacdona@sanjuan.UVic.CA)
288 .\"O rootflags support added by Stephen Tweedie (sct@dcs.ed.ac.uk)
289 初版、Werner Almesberger (almesber@nessie.cs.id.ethz.ch)
290 変更、Peter MacDonald (pmacdona@sanjuan.UVic.CA)
291 rootflags サポートの追加、Stephen Tweedie (sct@dcs.ed.ac.uk)