LinuxCommandLibrary

exfatlabel

Get or set an exFAT filesystem label.

TLDR

Display the current filesystem label

$ exfatlabel [/dev/sda]
copy


Set the filesystem label
$ exfatlabel [/dev/sda] [new_label]
copy

SYNOPSIS

exfatlabel [ -V ] device [ label ]

DESCRIPTION

exfatlabel reads or changes an exFAT file system label (volume name).

If label argument is present, exfatlabel sets the new volume name. Empty label ('') removes volume name. Label can be up to 15 characters. This limit is shorter if characters beyond Unicode BMP are used because internally label is stored in UTF-16.

If label argument is omitted, exfatlabel just prints current volume name.

COMMAND LINE OPTIONS

Command line options available:

-V

Print version and copyright.

EXIT CODES

Zero is returned on success. Any other code means an error.

SEE ALSO

mkexfatfs(8)

AUTHOR

Andrew Nayenko

Copied to clipboard