blob: 6f24f7ae5d8d3973b4fb273b6918287c5b552543 [file] [log] [blame]
Alistair Delvabeaee832021-02-24 11:27:23 -08001'\" t
2.TH mlabel 1 "28Nov20" mtools-4.0.26
3.SH Name
4mlabel - make an MSDOS volume label
5'\" t
6.de TQ
7.br
8.ns
9.TP \\$1
10..
11
12.tr \(is'
13.tr \(if`
14.tr \(pd"
15
16.SH Note\ of\ warning
17This manpage has been automatically generated from mtools's texinfo
18documentation, and may not be entirely accurate or complete. See the
19end of this man page for details.
20.PP
21.SH Description
22.PP
23The \fR\&\f(CWmlabel\fR command adds a volume label to a disk. Its syntax is:
24.ft I
25.nf
26\&\fR\&\f(CWmlabel\fR [\fR\&\f(CW-vcsn\fR] [\fR\&\f(CW-N\fR \fIserial\fR] \fIdrive\fR:[\fInew_label\fR]
27.fi
28.ft R
29
30.PP
31\&\fR\&\f(CWMlabel\fR displays the current volume label, if present. If
32\&\fInew_label\fR is not given, and if neither the \fR\&\f(CWc\fR nor the
33\&\fR\&\f(CWs\fR options are set, it prompts the user for a new volume label.
34To delete an existing volume label, press return at the prompt.
35.PP
36The label is limited to 11 single-byte characters,
37e.g. \fR\&\f(CWName1234567\fR.
38.PP
39Reasonable care is taken to create a valid MS-DOS volume label. If an
40invalid label is specified, \fR\&\f(CWmlabel\fR changes the label (and
41displays the new label if the verbose mode is set). \fR\&\f(CWMlabel\fR
42returns 0 on success or 1 on failure.
43.PP
44Mlabel supports the following options:
45.TP
46\&\fR\&\f(CWc\fR\
47Clears an existing label, without prompting the user
48.TP
49\&\fR\&\f(CWs\fR\
50Shows the existing label, without prompting the user.
51.TP
52\&\fR\&\f(CWn\ \fR\
53Assigns a new (random) serial number to the disk
54.TP
55\&\fR\&\f(CWN\ \fIserial\fR\&\f(CW\fR\
56Sets the supplied serial number. The serial number should be supplied as
57an 8 digit hexadecimal number, without spaces
58.PP
59.SH See\ Also
60Mtools' texinfo doc
61.SH Viewing\ the\ texi\ doc
62This manpage has been automatically generated from mtools's texinfo
63documentation. However, this process is only approximative, and some
64items, such as crossreferences, footnotes and indices are lost in this
65translation process. Indeed, these items have no appropriate
66representation in the manpage format. Moreover, not all information has
67been translated into the manpage version. Thus I strongly advise you to
68use the original texinfo doc. See the end of this manpage for
69instructions how to view the texinfo doc.
70.TP
71* \ \
72To generate a printable copy from the texinfo doc, run the following
73commands:
74
75.nf
76.ft 3
77.in +0.3i
78 ./configure; make dvi; dvips mtools.dvi
79.fi
80.in -0.3i
81.ft R
82.PP
83
84\&\fR
85.TP
86* \ \
87To generate a html copy, run:
88
89.nf
90.ft 3
91.in +0.3i
92 ./configure; make html
93.fi
94.in -0.3i
95.ft R
96.PP
97
98\&\fRA premade html can be found at
99\&\fR\&\f(CW\(ifhttp://www.gnu.org/software/mtools/manual/mtools.html\(is\fR
100.TP
101* \ \
102To generate an info copy (browsable using emacs' info mode), run:
103
104.nf
105.ft 3
106.in +0.3i
107 ./configure; make info
108.fi
109.in -0.3i
110.ft R
111.PP
112
113\&\fR
114.PP
115The texinfo doc looks most pretty when printed or as html. Indeed, in
116the info version certain examples are difficult to read due to the
117quoting conventions used in info.
118.PP