1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
|
.\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
.\" Fri Apr 2 11:32:09 MET DST 1993
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.\" Modified Sat Jul 24 16:56:20 1993 by Rik Faith <faith@cs.unc.edu>
.\" Modified Mon Oct 21 21:38:51 1996 by Eric S. Raymond <esr@thyrsus.com>
.\" (and some more by aeb)
.\"
.\" Japanese Version Copyright (c) 1996,1997,1998 ISHIKAWA Mutsumi
.\" all rights reserved.
.\" Translated Sun Jan 11 03:35:23 JST 1998
.\" by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
.\"
.\" Japanese Version Last Modified Thu Feb 5 17:36:37 JST 1998
.\" by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
.\"
.\" WORD: hard disk drive ϡɥǥɥ饤
.\" WORD: block device ֥åǥХ
.\" WORD: primary ץ饤ޥ
.\" WORD: controller ȥ
.\" WORD: master drive ޥɥ饤
.\" WORD: slave drive 졼֥ɥ饤
.\" WORD: pertition ѡƥ
.\" WORD: logical partition ѡƥ
.\" WORD: pertitioning ѡƥ˥
.\" WORD: BSD-disklabel BSD ǥ٥
.\"
.TH HD 4 1992-12-17 "Linux" "Linux Programmer's Manual"
.SH ̾
hd \- MFM/IDE ϡɥǥǥХ
.SH
\fBhd*\fP ǥХ MFM/IDE ϡɥǥɥ饤֤˥⡼ (raw mode)
ǥ뤿Υ֥åǥХ (block device) Ǥ롣ץ饤ޥ
(primary) IDE ȥ (㡼ʥС 3) ޥɥ饤
(mater drive) \fBhda\fR졼֥ɥ饤 (slave drive) \fBhdb\fR
Ǥ롣ޤɥȥ (㡼ʥС 22) Υޥ
ɥ饤֤ \fBhdc\fR 졼֤ \fBhdd\fR Ǥ롣
.LP
Ū IDE ֥åǥХ̾
.BI hd X\c
ޤϡ
.BI hd XP\c
Ȥ֤Ȥ롣Ρ
.I X
ʬʪŪʥɥ饤֤ɽʸǡ
.I P
ʬϤʪŪʥɥ饤־Υѡƥ (partition) ɽ
롣κǽη
.BI hd X,
ϥɥ饤ΤΤ˻Ȥ롣
ѡƥʥСȯ줿ѡƥ˽˳դ롣
ѡƥʥСդΤϡǤʤ (non-empty)
ĥѡƥǤʤ (non-extended) ѡƥΤߤǤ롣
ΤѡƥʥС 1 4 Ϥ줬ȤƤʤƤ⡢
ޤĥѡƥȤƤ MBR ˵ҤͤĤΥѡƥ
(롢ץޥ'ѡƥ) Ϳ롣
äơǽѡƥ (logical pertition) ϡ
.BI hd X 5\c
Ȥʤ
(IDE ϡɥǥǤ) DOS פΥѡƥ˥ (partitioning)
BSD ǥ٥ (BSD-disklabel) ˤѡƥ˥ξ
ݡȤƤ롣ޤIDE ǥ˺ǹ 63 Υѡƥ
Ǥ롣
.LP
㤨С
.I /dev/hda
ϥƥκǽ IDE ɥ饤ΤȤ롣ơ
.I /dev/hdb3
ϥɥɥ饤֤λĤ DOS `ץ饤ޥ'ѡƥȤ롣
.LP
ΥǥХե (device file) ŵŪˤϼΤ褦ˤƺ롣
.RS
.sp
mknod \-m 660 /dev/hda b 3 0
.br
mknod \-m 660 /dev/hda1 b 3 1
.br
mknod \-m 660 /dev/hda2 b 3 2
.br
\&...
.br
mknod \-m 660 /dev/hda8 b 3 8
.br
mknod \-m 660 /dev/hdb b 3 64
.br
mknod \-m 660 /dev/hdb1 b 3 65
.br
mknod \-m 660 /dev/hdb2 b 3 66
.br
\&...
.br
mknod \-m 660 /dev/hdb8 b 3 72
.br
chown root:disk /dev/hd*
.RE
.SH ե
/dev/hd*
.SH Ϣ
.BR chown (1),
.BR mknod (1),
.BR sd (4)
.BR mount (8),
|