Siege Lion on the road (iii) Linux (26)---Special view and operation of Linux file system

Source: Internet
Author: User

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;

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.