OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / draft / man4 / hd.4
1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2 .\"     Fri Apr  2 11:32:09 MET DST 1993
3 .\"
4 .\" %%%LICENSE_START(GPLv2+_DOC_FULL)
5 .\" This is free documentation; you can redistribute it and/or
6 .\" modify it under the terms of the GNU General Public License as
7 .\" published by the Free Software Foundation; either version 2 of
8 .\" the License, or (at your option) any later version.
9 .\"
10 .\" The GNU General Public License's references to "object code"
11 .\" and "executables" are to be interpreted as the output of any
12 .\" document formatting or typesetting system, including
13 .\" intermediate and printed output.
14 .\"
15 .\" This manual is distributed in the hope that it will be useful,
16 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
17 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 .\" GNU General Public License for more details.
19 .\"
20 .\" You should have received a copy of the GNU General Public
21 .\" License along with this manual; if not, see
22 .\" <http://www.gnu.org/licenses/>.
23 .\" %%%LICENSE_END
24 .\"
25 .\" Modified Sat Jul 24 16:56:20 1993 by Rik Faith <faith@cs.unc.edu>
26 .\" Modified Mon Oct 21 21:38:51 1996 by Eric S. Raymond <esr@thyrsus.com>
27 .\" (and some more by aeb)
28 .\"
29 .\"*******************************************************************
30 .\"
31 .\" This file was generated with po4a. Translate the source file.
32 .\"
33 .\"*******************************************************************
34 .\"
35 .\" Japanese Version Copyright (c) 1996,1997,1998 ISHIKAWA Mutsumi
36 .\"         all rights reserved.
37 .\" Translated Sun Jan 11 03:35:23 JST 1998
38 .\"         by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
39 .\"
40 .TH HD 4 1992\-12\-17 Linux "Linux Programmer's Manual"
41 .SH 名前
42 hd \- MFM/IDE ハードディスクデバイス
43 .SH 説明
44 \fBhd*\fP デバイスは MFM/IDE ハードディスクドライブにローモード (raw mode)  でアクセスするためのブロックデバイス (block
45 device) である。プライマリ (primary) IDE コントローラー (メジャーナンバー 3) の マスタードライブ (mater
46 drive) は \fBhda\fP、スレーブドライブ (slave drive) は \fBhdb\fP である。また、セカンドコントローラー (メジャーナンバー
47 22) のマスター ドライブは \fBhdc\fP スレーブは \fBhdd\fP である。
48 .LP
49 一般的な IDE ブロックデバイスの名前は \fBhd\fP\fIX\fPまたは、 \fBhd\fP\fIXP\fPという形態をとる。この、 \fIX\fP
50 の部分は物理的なドライブを表す文字で、 \fIP\fP の部分はその物理的なドライブ上のパーティション (partition) を表す数字で
51 ある。この最初の形式 \fBhd\fP\fIX\fP はドライブ全体を示すのに使われる。 パーティションナンバーは発見されたパーティションに順に割り付けられる。
52 パーティションナンバーが割り付けられるのは、空でなく (nonempty) かつ 拡張パーティションでない (nonextended)
53 パーティションのみである。 このうち、パーティションナンバー 1 から 4 はそれが使われていなくても、 また拡張パーティションだとしても MBR
54 に記述される四つのパーティション (いわゆる、プラマリ'パーティション) に与えられる。 従って、最初の論理パーティション (logical
55 pertition) は、 \fBhd\fP\fIX\fP\fB5\fPとなるだろう。 (IDE ハードディスクでは) DOS タイプのパーティショニング
56 (partitioning)  と BSD ディスクラベル (BSD\-disklabel) によるパーティショニングの両方が
57 サポートされている。また、IDE ディスク上に最高 63 のパーティションを 作成する事ができる。
58 .LP
59 例えば、 \fI/dev/hda\fP はシステムの最初の IDE ドライブ全体を参照する。そして、 \fI/dev/hdb3\fP はセカンドドライブの三つめの
60 DOS `プライマリ'パーティションを参照する。
61 .LP
62 これらは典型的には次のようにして作られる。
63 .RS
64 .sp
65 mknod \-m 660 /dev/hda b 3 0
66 .br
67 mknod \-m 660 /dev/hda1 b 3 1
68 .br
69 mknod \-m 660 /dev/hda2 b 3 2
70 .br
71 \&...
72 .br
73 mknod \-m 660 /dev/hda8 b 3 8
74 .br
75 mknod \-m 660 /dev/hdb b 3 64
76 .br
77 mknod \-m 660 /dev/hdb1 b 3 65
78 .br
79 mknod \-m 660 /dev/hdb2 b 3 66
80 .br
81 \&...
82 .br
83 mknod \-m 660 /dev/hdb8 b 3 72
84 .br
85 chown root:disk /dev/hd*
86 .RE
87 .SH ファイル
88 /dev/hd*
89 .SH 関連項目
90 \fBchown\fP(1), \fBmknod\fP(1), \fBsd\fP(4)  \fBmount\fP(8),
91 .SH この文書について
92 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
93 である。プロジェクトの説明とバグ報告に関する情報は
94 http://www.kernel.org/doc/man\-pages/ に書かれている。