Linux disk formatting tutorial, how to query the partition format ?, Linux partition
Linux supports many partition formats. How can I query them?
You can use mkfs. ext4/dev/sdb1 or mke2fs-t ext4/dev/sdb1.
Mkfs is followed by the partition format. If the format is re-formatted, the-f parameter must be added.
After the partition is formatted, You need to mount the partition for normal use. before mounting, how can you view the formatted partition? Use blkid [partition] to view the unmounted Partition
Mke2fs and mkfs have three parameters. Note that-B specifies the block size. If the partition stores large files, you can set the block size not 8192-m to specify the partition size m reserved for the root user as a percentage or decimal number. -I specifies the size of the corresponding inode block. The smaller the block, the more inode is supported.