sd(4) | Device Drivers Manual | sd(4) |
sd - 스카시디스크 드라이버이다.
#include <linux/hdreg.h> /* HDIO_GETGEO용 */ #include <linux/fs.h> /* BLKGETSIZE 및 BLKRRPART용 */
The block device name has the following form: sdlp, where l is a letter denoting the physical drive, and p is a number denoting the partition on that physical drive. Often, the partition number, p, will be left off when the device corresponds to the whole drive.
SCSI disks have a major device number of 8, and a minor device number of the form (16 * drive_number) + partition_number, where drive_number is the number of the physical drive in order of detection, and partition_number is as follows:
예를 들면, /dev/sda 는 메이저 8과, 마이너 0을 갖게되고, 시스템의 모든 스카시드라이브와 관련될 것이다; 그리고 /dev/sdb3 는 메이저 8과 마이너 19를 갖게되고, 시스템의 두번째 스카시 드라이브상의 세번째 도스"프라이머리"파티션과 관련될 것이다.
이때, 블록 장치가 제공된다. Raw장치는 아직 구현되지 않았다.
iotcls는 아래와 같이 제공된다:
struct hd_geometry { unsigned char heads; unsigned char sectors; unsigned short cylinders; unsigned long start; };
이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: ASPLINUX <man@asp-linux.co.kr>
이 번역은 무료 문서입니다. 저작권 조건에 대해서는 GNU General Public License 버전 3 이상을 읽으십시오. 책임이 없습니다.
이 매뉴얼 페이지의 번역에서 오류를 발견하면 translation-team-ko@googlegroups.com 로 이메일을 보내주십시오.
2023년 2월 5일 | Linux man-pages 6.03 |