Linux Partition File system

Source: Internet
Author: User

The operating system manages files and data through the file system, the disk or partition needs to create a file system before it can be used for the operating system, and the process of creating a file system is called formatting.

Devices without a file system are called bare devices (raw);

The common file system has FAT32,NTFS,EXT2,EXT3,EXT4,XFS,HFS and so on;

The main system under Windows is: NTFS;

The main file system under Linux is: EXT3,EXT4;

creating a file system

Mke2fs-t EXT4/DEV/SDB1

Common parameters:

-b Specifies the file system block size

-C Check bad block when setting up file system

-L Specify Volume label

-j Specifying File system logs

MKFS can also create a file system, which is simpler than MKE2FS, but supports fewer parameters and does not allow fine-grained control

Mkfs.ext3/dev/sdb1

Dumpe2fs

viewing partition file system Information

Dumpe2fs/dev/sdb1

Log Records

hit label

E2LABEL/DEV/SDB1 SYSTEM

fsck checks and repairs the corrupted file system

Linux Partition File system

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.