Scroll to navigation

hd(4) Device Drivers Manual hd(4)

이름

hd - MFM/IDE 하드 디스크 장치

설명

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

예를들어, /dev/hda 는 시스템상의 첫번째 IDE 드라이브 전체를 나타낸다; 그리고 /dev/hdb3 는 세컨드 드라이브의 세번째 도스 프라이머리 파티션을 뜻한다.

문자 디바이스들은 일반적으로 다음에 의해 만들어진다.


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*

파일

/dev/hd*

추가 참조

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

번역

이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: ASPLINUX <man@asp-linux.co.kr>

이 번역은 무료 문서입니다. 저작권 조건에 대해서는 GNU General Public License 버전 3 이상을 읽으십시오. 책임이 없습니다.

이 매뉴얼 페이지의 번역에서 오류를 발견하면 translation-team-ko@googlegroups.com 로 이메일을 보내주십시오.

2023년 2월 5일 Linux man-pages 6.05.01