mkfs 是 Unix/Linux 系统中的命令名,源自 make filesystem,意思是“创建/格式化文件系统”。它会在指定的磁盘分区或设备上写入文件系统结构(例如 ext4、xfs 等),通常会清除原有数据。
/ˌɛm.keɪ.ɛfˈɛs/
Run mkfs to create an ext4 filesystem on the new partition.
在新分区上运行 mkfs 来创建 ext4 文件系统。
Before you use mkfs on a device, double-check the device name, because formatting the wrong disk can erase important data.
在对某个设备使用 mkfs 之前,一定要反复确认设备名,因为格式化错盘可能会清除重要数据。
mkfs 是对短语 make filesystem 的缩写:mk(make 的常见缩写)+ fs(filesystem 的缩写)。它最早出现在 Unix 系统工具传统中,命令命名强调简短、可组合。
mkfs(8) 与各文件系统的 mkfs.* 手册页) mkfs) mkfs)