Linux fdisk-l command

Source: Internet
Author: User

Linux fdisk-l command description of some fdisk-l values; Disk/dev/hda: 80.0 GB, 80026361856 bytes255 heads, 63 sectors/track, 9729 cylindersUnits = cylinders of 16065*512 = 8225280 bytes this hard disk is 80 GB, with 255 magnetic surfaces; 63 sectors; 9729 magnetic bars; each cylinder (magnetic column) the capacity is 8225280 bytes = 8225.280 K (about) = 8.225280 M (about ); partition sequence boot starts to terminate capacity partition type ID partition type/dev/hda1 * 1 765 6144831 7 HPFS/NTFS/dev/hda2 766 2805 16386300 c W95 FAT32 (LBA) /dev/hda3 2806 9729 55617030 5 Extended Description: Hard Disk Partition representation: hd * x or sd * x is used in Linux, * Indicates a, B, and c ...... the numbers 1, 2, and 3 represented by x ...... hd is mostly an IDE hard disk; sd is mostly a SCSI or mobile storage; Boot: indicates a Boot partition. In the preceding example, hda1 is a Boot partition; active partition activeStart (start ): indicates that a partition starts from X cylinder (magnetic column); End: indicates that a partition ends with Y cylinder (magnetic column); id and System indicate a meaning, confirm the partition type by specifying the id. For example, if 7 indicates NTFS partition, Blocks (capacity) means capacity, and its unit is K; the value of a partition capacity comes from the following formula; Blocks = (End value of the corresponding partition-Start value of the corresponding partition) x unit cylinder (magnetic column) so let's calculate the size of the hda1 Blocks: hda1 Blocks = (765-1) x8225.280 = 6284113.92 K = 6284.113.92M

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.