1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2 .\" Fri Apr 2 11:32:09 MET DST 1993
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" Modified Sat Jul 24 16:56:20 1993 by Rik Faith <faith@cs.unc.edu>
7 .\" Modified Mon Oct 21 21:38:51 1996 by Eric S. Raymond <esr@thyrsus.com>
8 .\" (and some more by aeb)
10 .TH HD 4 2017-09-15 "Linux" "Linux Programmer's Manual"
12 hd \- MFM/IDE hard disk devices
16 devices are block devices to access MFM/IDE hard disk drives
18 The master drive on the primary IDE controller (major device
23 The master drive of the second controller (major device number 22)
29 General IDE block device names have the form
35 is a letter denoting the physical drive, and
37 is a number denoting the partition on that physical drive.
40 , is used to address the whole drive.
41 Partition numbers are assigned in the order the partitions
42 are discovered, and only nonempty, nonextended partitions
44 However, partition numbers 1\(en4 are given to the
45 four partitions described in the MBR (the "primary" partitions),
46 regardless of whether they are unused or extended.
47 Thus, the first logical partition will be
50 Both DOS-type partitioning and BSD-disklabel partitioning are supported.
51 You can have at most 63 partitions on an IDE disk.
55 refers to all of the first IDE drive in the system; and
57 refers to the third DOS "primary" partition on the second one.
59 They are typically created by:
63 mknod \-m 660 /dev/hda b 3 0
64 mknod \-m 660 /dev/hda1 b 3 1
65 mknod \-m 660 /dev/hda2 b 3 2
67 mknod \-m 660 /dev/hda8 b 3 8
68 mknod \-m 660 /dev/hdb b 3 64
69 mknod \-m 660 /dev/hdb1 b 3 65
70 mknod \-m 660 /dev/hdb2 b 3 66
72 mknod \-m 660 /dev/hdb8 b 3 72
73 chown root:disk /dev/hd*