|
HD(4) manual page
Table of Contents
hd - dispositivi per dischi fissi MFM/IDE
Hd* sono
file speciali a blocchi per l'accesso ai drive dei disci fissi MFM/IDE
in modo "raw". Il primo disco (master) sul primo controller IDE (major
number 3) è hda ; il secondo disco (slave) è hdb . Il primo disco del secondo
controller (major number 22) è hdc e il secondo disco hdd .
I nomi generali
per i dispositivi IDE hanno la forma hdX, or hdXP, where X is a letter
denoting the physical drive, and P is a number denoting the partition
on that physical drive. The first form, hdX, is used to address the whole
drive. Partition numbers are assigned in the order the partitions are discovered,
and only non-empty, non-extended partitions get a number. However, partition
numbers 1-4 are given to the four partitions described in the MBR (the
`primary' partitions), regardless of whether they are unused or extended.
Thus, the first logical partition will be hdX5. Sia il partizionamento
di tipo DOS sia le "disklabel" di BSD sono supportate. Si possono avere
fino a 63 partizioni in un disco IDE.
Per esempio, /dev/hda si riferisce
all'intero primo disco IDE del sistema, e /dev/hdb3 si riferisce alla
terza partizione `primaria' sul secondo disco.
I file speciali sono creati
tipicamente con:
mknod -m 660 /dev/hda b 3 0
mknod -m 660 /dev/hda1 b
3 1
mknod -m 660 /dev/hda2 b 3 2
...
mknod -m 660 /dev/hda8 b 3 8
mknod
-m 660 /dev/hdb b 3 64
mknod -m 660 /dev/hdb1 b 3 65
mknod -m 660 /dev/hdb2
b 3 66
...
mknod -m 660 /dev/hdb8 b 3 72
chown root.disk /dev/hd*
/dev/hd*
mknod(1)
, chown(1)
, mount(8)
, sd(4)
Table of Contents
|