LinuxCommandLibrary

tune.exfat

Display or modify exFAT filesystem parameters

TLDR

Print the volume label of a filesystem

$ tune.exfat [[-l|--print-label]] [/dev/sdXY]
copy

Set the volume label of a filesystem
$ tune.exfat [[-L|--set-label]] [new_label] [/dev/sdXY]
copy

Print the volume GUID of a filesystem
$ tune.exfat [[-u|--print-guid]] [/dev/sdXY]
copy

Set the volume GUID of a filesystem
$ tune.exfat [[-U|--set-guid]] [new_guid] [/dev/sdXY]
copy

Print the volume serial of a filesystem
$ tune.exfat [[-i|--print-serial]] [/dev/sdXY]
copy

Set the volume serial of a filesystem
$ tune.exfat [[-I|--set-serial]] [new_serial] [/dev/sdXY]
copy

SYNOPSIS

tune.exfat [options] device

PARAMETERS

-l volume-label
    Set the volume label of the exFAT filesystem.

-i bitmap-file
    Set the filename of the Allocation Bitmap on the FS. Must be a valid path on the exFAT FS.

-u upcase-file
    Set the filename of the Upcase Table on the FS. Must be a valid path on the exFAT FS.

-h
    Display help information and exit.

-V
    Display version information and exit.

DESCRIPTION

The tune.exfat command is a utility used to modify various tunables of an exFAT filesystem. This allows administrators to adjust filesystem behavior for optimal performance or specific use cases. Common uses include setting the volume label, changing allocation bitmaps and upcase tables. Correct use of the command requires a complete understanding of what each change will do. It is primarily designed for specialists to optimize storage device configurations.

Important: Incorrect usage can lead to filesystem corruption and data loss, so backup before running. This utility provides powerful control, requiring careful consideration of implications before applying changes. It is highly recommended to unmount the filesystem before use to prevent errors and ensure consistency. Be aware that some parameters might not be modifiable after filesystem creation.

CAVEATS

Incorrect usage of tune.exfat can cause severe filesystem corruption and data loss. Always back up your data before using this command. Using this command on a mounted filesystem might lead to unpredictable results and damage. Only use if sure of action and effects.

EXIT CODES

tune.exfat exits with a code of 0 upon successful completion. A non-zero exit code indicates an error.

HISTORY

The tune.exfat command is part of the exFAT filesystem utilities, which were developed to provide support for the exFAT filesystem in Linux. exFAT is a filesystem designed by Microsoft, primarily for use on flash drives and SD cards. The exFAT tools provide the ability to create, check, and modify exFAT filesystems under Linux. As exFAT gains popularity, the command has evolved alongside other exfatprogs utilities.

SEE ALSO

mkfs.exfat(8), fsck.exfat(8)

Copied to clipboard