First, the relationship between boot sector and Super BLOCK:
1. Boot sector is used to store the boot loader, which occupies 1024 bytes.
2, super block size is also 1024 bytes.
3, if the block size is 1k, then the boot sector and Super block each occupy a block.
4. If the block is greater than 1K (2K/4K), both are located in the first block.
Second, disk space waste problem: temporarily do not consider.
Third, using the parted command of gun to partition behavior:
Because Fdisk does not support partitions higher than 2TB.
Command format: parted [device] [command [parameter]]
Parameters:
Command function:
New partition: Mkpart [primary|logical|extended] [ext3|vfat] start end;
Partition table: Print
Delete Partition: RM [partition]
Example:
PARTED/DEV/SDA Print; <== similar to fdisk p;
PARTED/DEV/SDA mkpart logical ext3 19.2GB 19.7GB;
PARTED/DEV/SDA RM 8;