Unix and Linux Discussions Tagged with hard drive |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
11 |
21,273 |
AIX |
|
|
|
3 |
7,399 |
HP-UX |
|
|
|
5 |
2,807 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
4,851 |
Solaris |
|
|
|
2 |
2,078 |
Shell Programming and Scripting |
|
|
|
2 |
3,950 |
Emergency UNIX and Linux Support |
|
|
|
2 |
3,446 |
UNIX for Dummies Questions & Answers |
|
|
|
12 |
9,650 |
Solaris |
|
|
|
0 |
2,023 |
Solaris BigAdmin RSS |
|
|
|
2 |
5,950 |
Filesystems, Disks and Memory |
|
|
|
13 |
17,135 |
SCO |
|
|
|
5 |
10,835 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
9,512 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
5,246 |
Filesystems, Disks and Memory |
|
|
|
2 |
40,164 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,148 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,875 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,910 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,060 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
8,265 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,579 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,875 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,770 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,455 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
5,470 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,797 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
5,135 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,953 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,444 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,853 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,918 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,656 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,874 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
18,645 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,473 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,415 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,677 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
13,292 |
UNIX for Dummies Questions & Answers |
HD(4) Linux Programmer's Manual HD(4)
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 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 nonempty, nonextended 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 logi-
cal partition will be hdX5. 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
chown(1), mknod(1), sd(4), mount(8)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 1992-12-17 HD(4)