OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / 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 .\"*******************************************************************
29 .\"
30 .\" This file was generated with po4a. Translate the source file.
31 .\"
32 .\"*******************************************************************
33 .TH HD 4 1992\-12\-17 Linux "Linux Programmer's Manual"
34 .SH 名前
35 hd \- MFM/IDE ハードディスクデバイス
36 .SH 説明
37 \fBhd*\fP デバイスは MFM/IDE ハードディスクドライブにローモード (raw mode)  でアクセスするためのブロックデバイス (block
38 device) である。プライマリ (primary) IDE コントローラ (メジャーナンバー 3) の マスタードライブ (mater drive)
39 は \fBhda\fP、スレーブドライブ (slave drive) は \fBhdb\fP である。また、セカンドコントローラ (メジャーナンバー 22)
40 のマスター ドライブは \fBhdc\fP スレーブは \fBhdd\fP である。
41 .LP
42 一般的な IDE ブロックデバイスの名前は \fBhd\fP\fIX\fPまたは、 \fBhd\fP\fIXP\fPという形態をとる。この、 \fIX\fP
43 の部分は物理的なドライブを表す文字で、 \fIP\fP の部分はその物理的なドライブ上のパーティション (partition) を表す数字で
44 ある。この最初の形式 \fBhd\fP\fIX,\fP はドライブ全体を示すのに使われる。 パーティションナンバーは発見されたパーティションに順に割り付けられる。
45 パーティションナンバーが割り付けられるのは、空でなく (nonempty) かつ 拡張パーティションでない (nonextended)
46 パーティションのみである。 このうち、パーティションナンバー 1 から 4 はそれが使われていなくても、 また拡張パーティションだとしても MBR
47 に記述される四つのパーティション (いわゆる、プラマリ'パーティション) に与えられる。 従って、最初の論理パーティション (logical
48 pertition) は、 \fBhd\fP\fIX\fP\fB5\fPとなるだろう。 (IDE ハードディスクでは) DOS タイプのパーティショニング
49 (partitioning)  と BSD ディスクラベル (BSD\-disklabel) によるパーティショニングの両方が
50 サポートされている。また、IDE ディスク上に最高 63 のパーティションを 作成する事ができる。
51 .LP
52 例えば、 \fI/dev/hda\fP はシステムの最初の IDE ドライブ全体を参照する。そして、 \fI/dev/hdb3\fP はセカンドドライブの三つめの
53 DOS `プライマリ'パーティションを参照する。
54 .LP
55 これらは典型的には次のようにして作られる。
56 .RS
57 .sp
58 mknod \-m 660 /dev/hda b 3 0
59 .br
60 mknod \-m 660 /dev/hda1 b 3 1
61 .br
62 mknod \-m 660 /dev/hda2 b 3 2
63 .br
64 \&...
65 .br
66 mknod \-m 660 /dev/hda8 b 3 8
67 .br
68 mknod \-m 660 /dev/hdb b 3 64
69 .br
70 mknod \-m 660 /dev/hdb1 b 3 65
71 .br
72 mknod \-m 660 /dev/hdb2 b 3 66
73 .br
74 \&...
75 .br
76 mknod \-m 660 /dev/hdb8 b 3 72
77 .br
78 chown root:disk /dev/hd*
79 .RE
80 .SH ファイル
81 /dev/hd*
82 .SH 関連項目
83 \fBchown\fP(1), \fBmknod\fP(1), \fBsd\fP(4)  \fBmount\fP(8),