OSDN Git Service

2199c011515b8e1aecb9903727da72dfc0cc5711
[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 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
8 .\"
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
13 .\"
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 .\" GNU General Public License for more details.
18 .\"
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, write to the Free
21 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
22 .\" USA.
23 .\"
24 .\" Modified Sat Jul 24 16:56:20 1993 by Rik Faith <faith@cs.unc.edu>
25 .\" Modified Mon Oct 21 21:38:51 1996 by Eric S. Raymond <esr@thyrsus.com>
26 .\" (and some more by aeb)
27 .\"
28 .\" Japanese Version Copyright (c) 1996,1997,1998 ISHIKAWA Mutsumi
29 .\"         all rights reserved.
30 .\" Translated Sun Jan 11 03:35:23 JST 1998
31 .\"         by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
32 .\"
33 .\" Japanese Version Last Modified Thu Feb  5 17:36:37 JST 1998
34 .\"     by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
35 .\"
36 .\" WORD:       hard disk drive         ハードディスクドライブ
37 .\" WORD:       block device            ブロックデバイス
38 .\" WORD:       primary                 プライマリ
39 .\" WORD:       controller              コントローラ
40 .\" WORD:       master drive            マスタードライブ
41 .\" WORD:       slave drive             スレーブドライブ
42 .\" WORD:       pertition               パーティション
43 .\" WORD:       logical partition       論理パーティション
44 .\" WORD:       pertitioning            パーティショニング
45 .\" WORD:       BSD-disklabel           BSD ディスクラベル
46 .\"
47 .TH HD 4 1992-12-17 "Linux" "Linux Programmer's Manual"
48 .\"O .SH NAME
49 .SH 名前
50 .\"O hd \- MFM/IDE hard disk devices
51 hd \- MFM/IDE ハードディスクデバイス
52 .\"O .SH DESCRIPTION
53 .SH 説明
54 .\"O The \fBhd*\fP devices are block devices to access MFM/IDE hard disk drives
55 .\"O in raw mode.
56 .\"O The master drive on the primary IDE controller (major device
57 .\"O number 3) is \fBhda\fR; the slave drive is \fBhdb\fR.
58 .\"O The master drive of the second controller (major device number 22)
59 .\"O is \fBhdc\fR and the slave \fBhdd\fR.
60 \fBhd*\fP デバイスは MFM/IDE ハードディスクドライブにローモード (raw mode)
61 でアクセスするためのブロックデバイス (block device) である。プライマリ
62 (primary) IDE コントローラ (メジャーナンバー 3) の マスタードライブ
63 (mater drive) は \fBhda\fR、スレーブドライブ (slave drive) は \fBhdb\fR
64 である。また、セカンドコントローラ (メジャーナンバー 22) のマスター
65 ドライブは \fBhdc\fR スレーブは \fBhdd\fR である。
66 .LP
67 .\"O General IDE block device names have the form
68 .\"O .BI hd X\c
69 .\"O , or
70 .\"O .BI hd XP\c
71 .\"O , where
72 .\"O .I X
73 .\"O is a letter denoting the physical drive, and
74 .\"O .I P
75 .\"O is a number denoting the partition on that physical drive.
76 .\"O The first form,
77 .\"O .BI hd X,
78 .\"O is used to address the whole drive.
79 一般的な IDE ブロックデバイスの名前は
80 .BI hd X\c
81 または、
82 .BI hd XP\c
83 という形態をとる。この、
84 .I X
85 の部分は物理的なドライブを表す文字で、
86 .I P
87 の部分はその物理的なドライブ上のパーティション (partition) を表す数字で
88 ある。この最初の形式
89 .BI hd X,
90 はドライブ全体を示すのに使われる。
91 .\"O Partition numbers are assigned in the order the partitions
92 .\"O are discovered, and only nonempty, nonextended partitions
93 .\"O get a number.
94 .\"O However, partition numbers 1-4 are given to the
95 .\"O four partitions described in the MBR (the "primary" partitions),
96 .\"O regardless of whether they are unused or extended.
97 .\"O Thus, the first logical partition will be
98 .\"O .BI hd X 5\c
99 .\"O \&.
100 .\"O Both DOS-type partitioning and BSD-disklabel partitioning are supported.
101 .\"O You can have at most 63 partitions on an IDE disk.
102 パーティションナンバーは発見されたパーティションに順に割り付けられる。
103 パーティションナンバーが割り付けられるのは、空でなく (nonempty) かつ
104 拡張パーティションでない (nonextended) パーティションのみである。
105 このうち、パーティションナンバー 1 から 4 はそれが使われていなくても、
106 また拡張パーティションだとしても MBR に記述される四つのパーティション
107 (いわゆる、プラマリ'パーティション) に与えられる。
108 従って、最初の論理パーティション (logical pertition) は、
109 .BI hd X 5\c
110 となるだろう。
111 (IDE ハードディスクでは) DOS タイプのパーティショニング (partitioning)
112 と BSD ディスクラベル (BSD-disklabel) によるパーティショニングの両方が
113 サポートされている。また、IDE ディスク上に最高 63 のパーティションを
114 作成する事ができる。
115 .LP
116 .\"O For example,
117 .\"O .I /dev/hda
118 .\"O refers to all of the first IDE drive in the system; and
119 .\"O .I /dev/hdb3
120 .\"O refers to the third DOS "primary" partition on the second one.
121 例えば、
122 .I /dev/hda
123 はシステムの最初の IDE ドライブ全体を参照する。そして、
124 .I /dev/hdb3
125 はセカンドドライブの三つめの DOS `プライマリ'パーティションを参照する。
126 .LP
127 .\"O They are typically created by:
128 これらのデバイスファイル (device file) は典型的には次のようにして作られる。
129 .RS
130 .sp
131 mknod \-m 660 /dev/hda b 3 0
132 .br
133 mknod \-m 660 /dev/hda1 b 3 1
134 .br
135 mknod \-m 660 /dev/hda2 b 3 2
136 .br
137 \&...
138 .br
139 mknod \-m 660 /dev/hda8 b 3 8
140 .br
141 mknod \-m 660 /dev/hdb b 3 64
142 .br
143 mknod \-m 660 /dev/hdb1 b 3 65
144 .br
145 mknod \-m 660 /dev/hdb2 b 3 66
146 .br
147 \&...
148 .br
149 mknod \-m 660 /dev/hdb8 b 3 72
150 .br
151 chown root:disk /dev/hd*
152 .RE
153 .\"O .SH FILES
154 .SH ファイル
155 /dev/hd*
156 .\"O .SH "SEE ALSO"
157 .SH 関連項目
158 .BR chown (1),
159 .BR mknod (1),
160 .BR sd (4)
161 .BR mount (8),