← 返回命令列表

Linux command

mkfs.vfat 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Example

sudo mkfs.vfat [/dev/sdXY]

Example

sudo mkfs.vfat -n [volume_name] [/dev/sdXY]

Example

sudo mkfs.vfat -F [12|16|32] [/dev/sdXY]

Example

sudo mkfs.vfat -F 32 -s [8] [/dev/sdXY]

Example

sudo mkfs.vfat -F 32 -S [512] [/dev/sdXY]

说明

mkfs.vfat is a symbolic link to mkfs.fat. It creates FAT (File Allocation Table) filesystems, commonly used for USB drives, SD cards, and EFI system partitions. The "vfat" name refers to the Virtual FAT extension that enables long filename support (up to 255 characters) on FAT filesystems while maintaining compatibility with the original 8.3 filename format.

FAQ

What is the mkfs.vfat command used for?

mkfs.vfat is a symbolic link to mkfs.fat. It creates FAT (File Allocation Table) filesystems, commonly used for USB drives, SD cards, and EFI system partitions. The "vfat" name refers to the Virtual FAT extension that enables long filename support (up to 255 characters) on FAT filesystems while maintaining compatibility with the original 8.3 filename format.

How do I run a basic mkfs.vfat example?

Run `sudo mkfs.vfat [/dev/sdXY]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more mkfs.vfat examples?

This page includes 5 examples for mkfs.vfat, plus related commands for nearby Linux tasks.