hd 中文man页面

系统
hd* 开头的设备是以裸模式(raw mode)访问MFM/IDE类型硬盘的块设备. 第一个IDE驱动控制器上的主盘(主设备号3)是 hda ;从盘是 hdb. 第二个IDE驱动器控制器(主设备号22)是 hdc ,从为 hdd.

NAME

hd - MFM/IDE 硬盘设备  

描述 DESCRIPTION

hd* 开头的设备是以裸模式(raw mode)访问MFM/IDE类型硬盘的块设备. ***个IDE驱动控制器上的主盘(主设备号3)是 hda ;从盘是 hdb. 第二个IDE驱动器控制器(主设备号22)是 hdc ,从为 hdd.

大多数IDE 块设备以 hdX, 或者 hdXP的形式命名, 其中字母 X 代表任意字母以表示各个物理设备.其中P表示各个物理设备中分区的代号. P 表示各个物理设备中分区的代号。***种形式 hdX, 代表整个驱动器的地址,而分区号是按照每个分区被发现的顺序分配的,并且只有非空和非扩展分区才能有这个号码然而不管这个分区是未使用过的还是扩展的,在MBR中只纪录四个分区号码依次为1-4. 因此逻辑分区只能从 hdX5开始。支持DOS 风格的分区以及BSD-磁盘卷标分区。你最多可以在一个IDE磁盘上建立63个分区.

例如, /dev/hda 代表***个IDE驱动器的全部; /dev/hdb3 代表第二块IDE硬盘上的第三DOS 主分区.

典型如下建立:

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)

#p#

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 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. 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)

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-11-01 13:46:50

中文mantac

2011-08-25 16:55:26

gets中文man

2011-08-25 15:49:02

freopen中文man

2011-08-25 16:00:56

fflush中文man

2011-08-25 16:08:55

fsetpos中文man

2011-08-25 15:33:18

exit中文man

2011-08-25 10:55:37

services中文man

2011-08-25 09:35:26

units中文man

2011-08-24 13:57:35

DECLARE中文man

2011-08-11 15:28:43

ali中文man

2011-08-23 17:24:11

userdel中文man

2011-08-23 17:33:22

rdev中文man

2011-08-23 18:05:21

ABORT中文man

2011-08-18 19:15:25

group中文man

2011-08-23 10:17:54

bdflush中文man

2011-08-23 10:48:03

exportfs中文man
点赞
收藏

51CTO技术栈公众号