Hard disk Partitioning in Linux

Source: Internet
Author: User

1. Relationship between the transmission interface of the hard drive and the device file name

At present, the transmission interface of the hard disk mainly has the following several:

IDE interface: The IDE interface uses a wide range of cables, each of which can connect two IDE devices, both of which are distinguished from Master (master) and slave (slave devices). Typically the motherboard will provide two IDE interfaces, respectively known as IDE1 (Primary) and IDE2 (secondary). Therefore, a motherboard can connect up to 4 IDE devices, and their file names in the Linux system are shown in the following table:

Ide/jumper Master Slave
IDE1 (Primary) /dev/hda /dev/hdb
IDE2 (secondary) /dev/hdc /dev/hdd

SATA interface: The SATA interface uses a thin line, each SATA cable can only connect one SATA device. SATA/USB/SCSI and other hard disk interfaces are driven using SCSI modules, the hard disk device filenames of these interfaces are/dev/sd[a-p], depending on the order of the disks detected by the Linux kernel.

For example, if you have two SATA hard disks and a USB flash drive on your computer. These two SATA hard drives are plugged into the SATA1,SATA5 slots on the motherboard, respectively. Then the file names of these devices are as follows:

    • Hard drive on SATA1 socket:/DEV/SDA
    • Hard drive on SATA5 socket:/dev/sdb
    • U disk:/DEV/SDC

SCSI interface: The hard disk of a SCSI interface is common in computers with workstations or workstations above the level.

2. Hard disk partitioning table (Partition table)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.