1 .\" Copyright (c) 2002\-2004 Anton Altaparmakov.
2 .\" Copyright (c) 2005 Richard Russon.
3 .\" This file may be copied under the terms of the GNU Public License.
5 .TH NTFSLABEL 8 "November 2005" "ntfs-3g @VERSION@"
7 ntfslabel \- display/change the label on an ntfs file system
10 [\fIoptions\fR] \fIdevice \fR[\fInew\-label\fR]
13 will display or change the file system label on the ntfs file system located on
15 It can also change the serial number of the
18 If the optional argument
20 is not present, and no option is present,
22 will simply display the current file system label.
24 If the optional argument
28 will set the file system label to be
30 NTFS file system labels can be at most 128 Unicode characters long; if
32 is longer than 128 Unicode characters,
34 will truncate it and print a warning message.
36 It is also possible to set the file system label using the
40 during creation of the file system.
42 Below is a summary of all the options that
44 accepts. Nearly all options have two equivalent names. The short name is
47 and the long name is preceded by
49 Any single letter options, that don't take an argument, can be combined into a
54 Long named options can be abbreviated to any unique prefix of their name.
56 \fB\-f\fR, \fB\-\-force\fR
57 This will override some sensible defaults, such as not working with a mounted
58 volume. Use this option with caution.
60 \fB\-h\fR, \fB\-\-help\fR
61 Show a list of options with a brief description of each one.
63 \fB\-\-new\-serial\fR[\fI=ssssssssssssssss\fR], or
65 \fB\-\-new\-half\-serial\fR[\fI=ssssssss\fR]
66 Set a new serial number to the device, either the argument value, or a random
67 one if no argument is given. The serial number is a 64 bit number,
68 represented as a sixteen-digit hexadecimal number, used to identify the
69 device during the mounting process. As a consequence, two devices with the
70 same serial number cannot be mounted at the same time on the same computer.
71 This is not the volume UUID used by Windows to locate files which have been
72 moved to another volume.
74 The option \-\-new\-half\-serial only changes the upper part of the serial
75 number, keeping the lower part which is used by Windows unchanged.
76 In this case the optional argument is an eight-digit hexadecimal number.
79 \fB\-n\fR, \fB\-\-no\-action\fR
80 Don't actually write to disk.
82 \fB\-q\fR, \fB\-\-quiet\fR
83 Reduce the amount of output to a minimum.
85 \fB\-v\fR, \fB\-\-verbose\fR
86 Increase the amount of output that
88 prints. The label and the serial number are displayed.
90 \fB\-V\fR, \fB\-\-version\fR
91 Show the version number, copyright and license for
94 There are no known problems with
96 If you find a bug please send an email describing the problem to the
100 ntfs\-3g\-devel@lists.sf.net
104 was written by Matthew J. Fanto, with contributions from Anton Altaparmakov and
106 It was ported to ntfs-3g by Erik Larsson.
111 package and is available from:
114 http://www.tuxera.com/community/