Initialize the empty test partition /dev/sdb1 as exFAT.
Use the exFAT-specific creation tool rather than FAT32.
Which command is appropriate?
mkfs.exfat DEVICE creates an exFAT filesystem. Although the names are similar, this is distinct from mkfs.vfat -F 32.
Detailed explanation
mkfs.vfat -F 32 /dev/sdb1Incorrect. mkfs.vfat -F 32 creates FAT32, not exFAT.
Incorrect. mkfs.vfat -F 32 creates FAT32, not exFAT.
mkfs.ext4 /dev/sdb1Incorrect. mkfs.ext4 creates an ext4 filesystem.
Incorrect. mkfs.ext4 creates an ext4 filesystem.
mkfs.exfat /dev/sdb1Correct. mkfs.exfat /dev/sdb1 initializes exFAT.
Correct. mkfs.exfat /dev/sdb1 initializes exFAT.
mkswap /dev/sdb1Incorrect. mkswap initializes swap metadata.
Incorrect. mkswap initializes swap metadata.
Try it yourself
An example you can run in a temporary verification environment.
mkfs.exfat --helpExpected result
exFAT作成ツールの使用法。ファイルシステム作成は行わないKey points
- mkfs.exfat creates exFAT
- It differs from FAT32
- The implementation package must be installed
Notes
- Environment: exfatprogs 1.x公式仕様
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.