Note of warning
See Also
Viewing the texi doc


mlabel - make an MSDOS volume label

Note of warning

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


The mlabel command adds a volume label to a disk. Its syntax is:
[-vcsn] [-N serial] drive:[new_label]

Mlabel displays the current volume label, if present. If new_label is not given, and if neither the c nor the s options are set, it prompts the user for a new volume label. To delete an existing volume label, press return at the prompt.

The label is limited to 11 single-byte characters, e.g. Name1234567.

Reasonable care is taken to create a valid MS-DOS volume label. If an invalid label is specified, mlabel changes the label (and displays the new label if the verbose mode is set). Mlabel returns 0 on success or 1 on failure.

Mlabel supports the following options:

Clears an existing label, without prompting the user

Shows the existing label, without prompting the user.


Assigns a new (random) serial number to the disk


Sets the supplied serial number. The serial number should be supplied as an 8 digit hexadecimal number, without spaces

See Also

Mtools’ texinfo doc

Viewing the texi doc

This manpage has been automatically generated from mtools’s texinfo documentation. However, this process is only approximative, and some items, such as crossreferences, footnotes and indices are lost in this translation process. Indeed, these items have no appropriate representation in the manpage format. Moreover, not all information has been translated into the manpage version. Thus I strongly advise you to use the original texinfo doc. See the end of this manpage for instructions how to view the texinfo doc.


To generate a printable copy from the texinfo doc, run the following commands:

./configure; make dvi; dvips mtools.dvi


To generate a html copy, run:

./configure; make html

A premade html can be found at ‘’


To generate an info copy (browsable using emacs’ info mode), run:

./configure; make info

The texinfo doc looks most pretty when printed or as html. Indeed, in the info version certain examples are difficult to read due to the quoting conventions used in info.

More Linux Commands

sched_getcpu(3) - determine CPU on which the calling thread
sched_getcpu() returns the number of the CPU on which the calling thread is currently executing. RETURN VALUE On success, sched_getcpu() returns a nonnegative C

Tcl_ChannelFlushProc(3) - procedures for creating and manipu
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for

ipurge(8) - delete mail from IMAP mailbox or partition based
Ipurge deletes messages from the mailbox(es) specified by mailbox-pattern that are older or larger than specified by the -d, -b, -k or -m options. If no mailbox

XtDisplayToApplicationContext(3) - obtain an application con
The XtDisplayToApplicationContext function returns the application context for the specified display. SEE ALSO X Toolkit Intrinsics - C Language Interface Xlib

logout(3) - write utmp and wtmp entries - Linux manual page
The utmp file records who is currently using the system. The wtmp file records all logins and logouts. See utmp(5). The function login() takes the supplied stru

textdomain(3) - set domain for future gettext() calls.......
The textdomain function sets or retrieves the current message domain. A message domain is a set of translatable msgid messages. Usually, every software package

capiplugin.8 (Manual - Linux man page).....................
The capiplugin provides a method to use PPP over ISDN with ISDN controllers that provide a CAPI2.0 interface. The plugin is responsible for the call setup with

glLighti(3gl) - set light source parameters - Linux man page
glLight sets the values of individual light source parameters. light names the light and is a symbolic name of the form GL_LIGHT$i$, where 0 <= i < GL_MAX_LIGHT

cexp2f(3) - base-2 exponent of a complex number (Man Page)
The function returns 2 raised to the power of z. CONFORMING TO These function names are reserved for future use in C99. AVAILABILITY Not yet in glibc, as at ver

pppoe-relay(8) user-space PPPoE relay agent. (Man Page).....
pppoe-relay is a user-space relay agent for PPPoE (Point-to-Point Protocol over Ethernet) for Linux. pppoe-relay works in concert with the pppoe client and pppo

FcFini(3) - finalize fonconfig library - Linux manual page
Frees all data structures allocated by previous calls to fontconfig functions. Fontconfig returns to an uninitialized state, requiring a new call to one of the

iso-8859-2(7) - ISO 8859-2 character set encoded in octal, d
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-2, the Latin Alphabet No. 2 is used to

We can't live, work or learn in freedom unless the software we use is free.