??
To SATA interface (according to the Linux kernel to check its order sda,sdb ...) As an example,
1, the limit of the hard disk, the maximum can only set 4 partitions (primary partition + extended partition), the path such as the following,
/dev/sda1
/dev/sda2
/dev/sda3
/dev/sda4
2, operating system restrictions, the extended partition can only have up to 1, can be 3 (or below) primary partition + an extended partition,
3, the extended partition uses the additional sector record logical partition information, which itself cannot be formatted,
4, partitions cut by the extended partition are called logical partitions and can be formatted
5, the partition ordinal 1,2,3,4 is reserved to the primary partition, the extended partition, the logical partition only can start from 5,/dev/sda5,
Suppose a hard disk separates 1 primary partitions, one extended partition, and 2 logical partitions, then the partition path:
/dev/sda1
/dev/sda2
/dev/sda5
/dev/sda6
6, assuming that the extended partition is destroyed, all logical partitions will be deleted, and the logical partition information is recorded in the extended partition.
7, IDE hard drive path will change SD to HD
Linux disk partition, primary partition, extended partition, logical partition with SATA interface as an example