Hard drive for Linux Learning

Source: Internet
Author: User
Tags ide hard drive
  1. A hard disk partition consists of a primary partition and an extended partition, with a maximum of four partitions. If all the IDE Hard Disks are primary partitions and extended partitions, they are hda1, hda2, hda3, and hda4 respectively. If you want to have more partitions, you can perform logical division in the Scalable partitions. The initial partition starts with hda5. That is to say, hda1 -- hda4 is left to the primary partition and extended partition, and the logical partition must start with 5. Similar to the SATA hard drive principle, sda1-sda4 is left to the primary partition and extended partition. The logical partition starts with sda5. In Linux, an IDE hard drive can have a maximum of 59 logical partitions (5-63) and a SATA hard drive can have a maximum of 11 logical partitions (5-15 ). Hard Disk device file names are mainly divided
    Dev/HD [a-d] of the IDE interface and/dev/SD [A-p] of SATA/SCSI/USB interface. Different from the hard disk of the IDE interface, the hard disk of SATA/USB is unordered. The device file name is determined based on the sequence detected by the Linux system. For example, a motherboard has five SATA slots, slot 1 and slot 5 are equipped with two SATA hard disks. The device names of these two hard disks are/dev/SDA and/dev/SDB, respectively, instead of/dev/SDA and/dev/SDE.
  2. The first partition of the hard disk mainly records two important information: the primary Boot Record area (Master Boot Record, MBR), where the boot management program is installed, there are 446 bytes; partition Table, which records the status of the entire hard disk partition, with 64 bytes.
  3. In Linux, each device is processed as an archive with a corresponding file name, and the hard disk is no exception. Access to hard disk data is implemented by means of mounting. The file directory is mounted to a hard disk partition, And you can access hard disk data by entering this directory, the Directory of the entry point is called a mount point. Different directories can be attached to different hard disk partitions.

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.