File: hd.4

package info (click to toggle)
manpages-es 1.24a-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,256 kB
  • ctags: 7
  • sloc: makefile: 66; sh: 62
file content (104 lines) | stat: -rw-r--r-- 3,292 bytes parent folder | download
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
.\" Copyright (c) 1993 Michael Haardt (u31b3hs@pool.informatik.rwth-aachen.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., 675 Mass Ave, Cambridge, MA 02139,
.\" USA.
.\" 
.\" Modified Sat Jul 24 16:56:20 1993 by Rik Faith (faith@cs.unc.edu)
.\" Translated Sun Jun 30 1996 by
.\"   Ignacio Arenaza (Ignacio.Arenaza@studi.epfl.ch)
.\" Revised Mon May 11 1998 by
.\" 	Juan Pablo Puerta (jppuerta@full-moon.com)
.\" Translation revised on Sun Apr 4 1999 by Juan Piernas <piernas@ditec.um.es>
.\"
.TH HD 4 "30 Junio 1996" "Linux" "Manual del Programador de Linux"
.SH NOMBRE
hd \- dispositivo de disco duro MFM/IDE
.SH DESCRIPCIN
\fBhd*\fP son los dispositivos de bloque usados para acceder a los
discos duros MFM/IDE en modo crudo (raw mode).
El disco duro maestro de la controladora primaria IDE (dispositivo
mayor nmero 3) es \fBhda\fR. el disco esclavo es \fBhdb\fR.  El dico maestro 
en la segunda controladora (dispositivo mayor nmero 22) es \fBhdc\fR
y el esclavo \fBhdd\fR.

.LP
Los nombres de los dispositivos generales de bloque IDE son de la forma:
.BI hd X\c
, o
.BI hd XP\c
, donde
.I X
es una letra que denota la unidad fsica, y
.I P
es un nmero que indica la particin en la unidad fsica.
La primera forma aqu mostrada,
.BI hd X,
es usada para direccionar la unidad entera.
Los nmeros de las particiones son asignados en el orden que se descubran
las particiones, solo obtienen nmero las particiones no vacas y no
extendidas. As mismo, los nmeros del 1 al 4 se toman de las cuatro
particiones descritas en el Master Boot Record (las particiones
llamadas primarias), independientemente de que no se usen o sean
extendidas.
Asi, la primera particin lgica ser
.BI hd X 5\c
\&.

Estn soportadas las particiones tipo DOS y BSD.
Puede tener hasta 63 particiones en un disco IDE.

.LP
Por ejemplo, 
.B /dev/hda
se refiere a la la primera unidad IDE completa; y
.B /dev/hdb3
se refiere a la tercera particion primaria DOS en la segunda unidad.

.LP
Tpicamente se crean con:
.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*
.sp
.RE
.SH FICHEROS
/dev/hd*
.SH "VASE TAMBIN"
.BR mknod "(1), " chown "(1), " mount (8)