Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
hd(4)
Edit
PageHistory
Diff
Info
LikePages
HD !!!HD NAME DESCRIPTION FILES SEE ALSO ---- !!NAME hd - MFM/IDE hard disk devices !!DESCRIPTION The __hd*__ devices are block devices to access MFM/IDE hard disk drives in raw mode. The master drive on the primary IDE controller (major device number 3) is __hda__; the slave drive is __hdb__. The master drive of the second controller (major device number 22) is __hdc__ and the slave __hdd__. General IDE block device names have the form __hd__''X'', or __hd__''XP'', where ''X'' is a letter denoting the physical drive, and ''P'' is a number denoting the partition on that physical drive. The first form, __hd__''X,'' 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 __hd__''X''__5__. Both DOS-type partitioning and BSD-disklabel partitioning are supported. You can have at most 63 partitions on an IDE disk. For example, __/dev/hda__ refers to all of the first IDE drive in the system; and __/dev/hdb3__ refers to the third DOS `primary' partition on the second one. They are typically created by: 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* !!FILES /dev/hd* !!SEE ALSO mknod(1), chown(1), mount(8), sd(4) ----
One page links to
hd(4)
:
Man4h
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.