Representation of hard disk partitions in Linux

Source: Internet
Author: User
Use the fdisk-l command in Linux to view the disk partition. The result is as follows: /dev/sda1/dev/sda2/dev/sda3 sd indicates that the scsi hard disk is mounted, and a indicates that there is only one disk (the drive letter is encoded as a, B, and c ), 1, 2, 3 indicates the magnetic...
Use the fdisk-l command in Linux to view the disk partition. The result is as follows: /dev/sda1/dev/sda2/dev/sda3 sd indicates that the scsi hard disk is mounted, and a indicates that there is only one disk (the drive letter is encoded as a, B, and c ), 1, 2, 3 indicates the partition on the disk. For SCSI hard disks at www.2cto.com, the driver identifier is "sdx ~" "Sd" indicates the device type of the partition, which is a scsi hard disk. "x" indicates the disk number (a is the basic disk, B is the basic slave disk, and "c" is the auxiliary primary disk, d is the secondary disk )~ The first four partitions are represented by numbers 1-4. they are primary partitions or extended partitions. For example, sda3 indicates that it is the 1st partition on 3rd scsi hard disks, and sdb3 indicates the 2nd primary partition or extended partition on the 3rd scsi hard disks. In addition, the IDE hard disk is represented as "hdx ~", In this example, hd is an IDE hard disk type, and other methods are the same as scsi. -------------------------------------------- Run the df/boot command to check which disk partition the boot directory is attached to. the result displayed in my system is: /dev/sda1 indicates that it is mounted to the first primary partition of the scsi hard disk.
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.