Linux common commands-69: mkfs

The mkfs command is used to format disk partitions and supports most file system formats, such as vfat , ext2 , ext3 , ext4 , etc.

Syntax format: mkfs [parameters]

Common parameters:

Example

 # 将sda5分区格式化成ext4格式mkfs -t ext4 /dev/sda5

This article is reprinted from https://xugaoxiang.com/2022/06/22/linux-cmds-69-mkfs/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment

Your email address will not be published.