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:


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

This article is reprinted from
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment

Your email address will not be published.