| Skip Navigation Links | |
| Exit Print View | |
![]() | man pages section 1M: System Administration Commands Oracle Solaris 11 Information Library |
- display or change the label on an NTFS file system
ntfslabel [options]device [new_label]
Thentfslabel utility displays or changes the file system label on theNTFS file system located ondevice (see Synopsis).
If the optional argumentnew_label is not present,ntfslabel displays the currentfile system label.
If the optional argumentnew_label is present,ntfslabel sets the file systemlabel to benew_label. NTFS file system labels can be at most128 Unicode characters long; ifnew_label is longer than 128 Unicode characters,ntfslabeltruncates it and displays a warning message.
It is also possible to set the file system label using the-L option ofmkntfs(1M) during creation of the file system.
Supported options are listed below. Most options have both single-letter and full-nameforms. Multiple single-letter options that do not take an argument can becombined. For example,-fv is the equivalent of-f-v. A full-nameoption can be abbreviated to a unique prefix of its name.
Overrides some sensible defaults, such as not working with a mounted volume. Use this option with caution.
Show a list of options with a brief description of each.
Do not actually write a new label to disk.
Suppress some debug, warning, and error messages.
Show the version number, copyright, and license information.
Display more debug, warning, and error messages.
Seeattributes(5) for descriptions of the following attributes:
|
mkntfs(1M),ntfsprogs(1M),parted(1M),attributes(5)
ntfslabel was written by Matthew J. Fanto, with contributions from AntonAltaparmakov and Richard Russon.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.Legal Notices | ![]() ![]() |