Pluto Free Software Users Group Pluto Free Software Users Group
HD(4) manual page Table of Contents

Nome

hd - dispositivi per dischi fissi MFM/IDE

Descrizione

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*

File

/dev/hd*

Vedere Anche

mknod(1) , chown(1) , mount(8) , sd(4)


Table of Contents

HOWTO
Guide LDP
Italian HOWTO
AppuntiLinux
LDR
Pagine man
      man1
      man2
      man3
      man4
      man5
      man6
      man7
      man8
FAQ di icl
Gnome
Altri documenti
Mirror ildp
Meeting
Pluto Journal
Mailing List
Disclaimer
Area ftp
Cerca
Pluto home

Copyright © 2001 Pluto Free Software Users Group
pluto@pluto.linux.it

Valid HTML 4.01!

webmaster @ pluto.linux.it
Il Pluto ringrazia i suoi sponsor.