Section: Maintenance Commands (8)
Updated: January 2012
ntfslabel will display or change the file system label on the ntfs file system located on device. It can also change the serial number of the device.
If the optional argument new-label is not present, and no option is present, ntfslabel will simply display the current file system label.
If the optional argument new-label is present, then ntfslabel will set the file system label to be new-label. NTFS file system labels can be at most 128 Unicode characters long; if new-label is longer than 128 Unicode characters, ntfslabel will truncate it and print a warning message.
Below is a summary of all the options that ntfslabel accepts. Nearly all options have two equivalent names. The short name is preceded by and the long name is preceded by -. Any single letter options, that don't take an argument, can be combined into a single command, e.g. -fv is equivalent to -f -v. Long named options can be abbreviated to any unique prefix of their name.
The option --new-half-serial only changes the upper part of the serial number, keeping the lower part which is used by Windows unchanged. In this case the optional argument is an eight-digit hexadecimal number.
There are no known problems with ntfslabel. If you find a bug please send an email describing the problem to the development team:
ntfslabel is part of the ntfs-3g package and is available from:
Tutoriais de Tecnologia Web