Home  >  Article  >  Operation and Maintenance  >  What does partition mean in linux

What does partition mean in linux

青灯夜游
青灯夜游Original
2022-03-02 15:57:104334browse

In Linux, partitioning is to divide a space into multiple blocks. It refers to dividing a block device (such as a hard disk) into several areas according to its physical address as "sub" devices that can be independently managed. Linux partitions have two common forms: MBR partition table and GPT partition table.

What does partition mean in linux

#The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.

Files are the OS's abstraction of hardware and even all resources, not just disks.

Partition is to divide a space into multiple blocks, and the file system is what is placed in the partition (or other space).

Partitioning is to divide a block device (such as a hard disk) into several areas according to its physical address as "sub" devices that can be independently managed. Partitioning only divides the address space of the block device. It is just a static division. That's it, no more use.

Partitioning method

Two common partition expressions,

MBR partition table: supports up to 2.1T hard disk, Supports up to 4 partitions, supports 32-bit and 64-bit systems;

GPT partition table (global uniquely marked partition table): supports 9.4ZB (1ZB=1024PB, 1PB=1024EB, 1EB=1024TB), theoretically There is no limit on the number of supported partitions (but Windows limits 128 primary partitions), and only supports 64-bit systems.

Although GPT is a newer partitioning mechanism that solves many shortcomings of MBR, the MBR partitioning method is currently the most used. MBR has up to 4 partitions, and there are three partition types:

  • Primary partition
  • Extended partition

    • There is at most one
    • The number of extended partitions and primary partitions cannot exceed 4
    • Cannot write data, cannot format, can only be used to contain logical partitions
  • Logical partition

    • Contained in the extended partition, there can be multiple
    • The extended partition must contain at least one Logical partition

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of What does partition mean in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn