FDLISK-L usage Analysis under Linux-introductory article

Source: Internet
Author: User

The meaning of fdlisk-l is to look at the size of the disk partitions below Linux. This size contains a lot of information.

Let's look at a description of the Niang:

  Fdisk for hard disk partitioning is essentially a format for hard disks. When we create the partition, we have set the physical parameters of the hard disk, specified the hard disk master boot record (i.e. MASTERBOOTRECORD,MBR) and the location of the boot record backup. The information required for the file system and other operating systems to manage the hard disk is implemented through advanced formatting, which is the format command. In an image analogy, partitioning is like drawing a generous box on a blank sheet of paper. And formatting is like playing a lattice in a box. Installing a variety of software is like writing a word in a grid. Partitioning and formatting are the equivalent of laying the groundwork for installing software, which actually serves as a marker location for the computer to store data on the hard disk.

Well, I believe you should know something, let's take a look at this command. The following specific parameters represent what it means:

[Email protected] opt]# fdisk-21.421474836480  bytes255 2610  160658225280 bytes
representative Meaning:

This hard drive is 21.4G, has 255 magnetic surface, 63 sectors, 2,610 magnetic columns, each cylinder (magnetic column) capacity is 8225280 bytes=8225.280 K (bytes) =8.225280m (bytes);

Keep looking down:

Representative Meaning:

Start (start): represents a partition starting from X cylinder (magnetic column);
End : represents the end of a partition to Y cylinder (magnetic column);
The ID and system represent a meaning, the ID looks less intuitive, we want to specify the ID to confirm the partition type when fdisk a partition, such as 7 for NTFS partition; This is specified in Fdisk by function.
Blocks (capacity): This is my translation, in fact, not accurate, meaning is indeed the meaning of capacity, its unit is k; the value of a partition capacity is derived from the following formula;
Blocks = (corresponding partition end value-corresponding partition start value) x unit cylinder (magnetic column) capacity;

FDLISK-L usage Analysis under Linux-introductory 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.