1mlabel(1)                   General Commands Manual                  mlabel(1)
2
3
4

Name

6       mlabel - make an MSDOS volume label
7
8
9

Note of warning

11       This  manpage  has  been  automatically generated from mtools's texinfo
12       documentation, and may not be entirely accurate or complete.   See  the
13       end of this man page for details.
14

Description

16       The mlabel command adds a volume label to a disk. Its syntax is:
17       mlabel [-vcsn] [-N serial] drive:[new_label]
18
19
20       Mlabel  displays  the current volume label, if present. If new_label is
21       not given, and if neither the c nor the s options are set,  it  prompts
22       the  user  for a new volume label.  To delete an existing volume label,
23       press return at the prompt.
24
25       The label is limited to 11 single-byte characters, e.g. Name1234567.
26
27       Reasonable care is taken to create a valid MS-DOS volume label.  If  an
28       invalid  label is specified, mlabel changes the label (and displays the
29       new label if the verbose mode is set). Mlabel returns 0 on success or 1
30       on failure.
31
32       Mlabel supports the following options:
33
34       c      Clears an existing label, without prompting the user
35
36       s      Shows the existing label, without prompting the user.
37
38       n      Assigns a new (random) serial number to the disk
39
40       N serial
41              Sets  the  supplied  serial  number. The serial number should be
42              supplied as an 8 digit hexadecimal number, without spaces
43

See Also

45       Mtools' texinfo doc
46

Viewing the texi doc

48       This manpage has been automatically  generated  from  mtools's  texinfo
49       documentation.  However,  this  process is only approximative, and some
50       items, such as crossreferences, footnotes and indices are lost in  this
51       translation process.  Indeed, these items have no appropriate represen‐
52       tation in the manpage format.  Moreover, not all information  has  been
53       translated into the manpage version.  Thus I strongly advise you to use
54       the original texinfo doc.  See the end of this manpage for instructions
55       how to view the texinfo doc.
56
57       *      To  generate a printable copy from the texinfo doc, run the fol‐
58              lowing commands:
59
60                     ./configure; make dvi; dvips mtools.dvi
61
62
63
64       *      To generate a html copy,  run:
65
66                     ./configure; make html
67
68       A premade html can be found at `http://www.gnu.org/software/mtools/man
69       ual/mtools.html'
70
71       *      To  generate  an  info  copy (browsable using emacs' info mode),
72              run:
73
74                     ./configure; make info
75
76
77
78       The texinfo doc looks most pretty when printed or as html.  Indeed,  in
79       the  info  version  certain  examples  are difficult to read due to the
80       quoting conventions used in info.
81
82mtools-4.0.23                       10Dec18                          mlabel(1)
Impressum