Forrest logo
back to the mkfs.exfat tool

mkfs.exfat:tldr:76ab8

mkfs.exfat: Create filesystem with a volume-name.
$ mkfs.exfat -n ${volume_name} ${-dev-sdb1}
try on your machine

The command "mkfs.exfat -n ${volume_name} ${-dev-sdb1}" is used to create a new exFAT file system on a specific device.

Here is the breakdown of the command:

  1. "mkfs.exfat" is the command that creates a new exFAT file system.

  2. "-n ${volume_name}" is an option that sets the name of the volume. Replace "${volume_name}" with the desired name for the volume.

  3. "${-dev-sdb1}" is the path to the device where the file system will be created. Replace "${-dev-sdb1}" with the correct device path, such as "/dev/sdb1".

So, when you run this command, it will create a new exFAT file system with the specified volume name on the specified device. Make sure to replace the placeholders with the actual values based on your system configuration.

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