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