Forrest logo
back to the mkfs.exfat tool

mkfs.exfat:tldr:42ad7

mkfs.exfat: Create filesystem with a volume-id.
$ mkfs.exfat -i ${volume_id} ${-dev-sdb1}
try on your machine

The command mkfs.exfat -i ${volume_id} ${-dev-sdb1} is used to create an exFAT file system on a specific block device.

Here's a breakdown of the command:

  1. mkfs.exfat: This is the command to create an exFAT file system.
  2. -i ${volume_id}: The -i option is used to specify a unique volume ID for the exFAT file system. ${volume_id} is a placeholder that should be replaced with the desired volume ID.
  3. ${-dev-sdb1}: This argument specifies the block device on which the exFAT file system will be created. In this case, it refers to the block device /dev/sdb1. ${-dev-sdb1} is a placeholder that should be replaced with the actual device name.

Overall, this command creates an exFAT file system with a specific volume ID on the block device specified.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mkfs.exfat tool