mlabel(1)
πΈ NAME πΈ
okay bestie, so mlabel β it makes an MS-DOS volume label π
that's literally the whole gig. she's a section 1 (General Commands Manual) girlie, so she's a command you run, not a function you call. no cap.
β οΈ Note of warning β οΈ
okay so real talk for a sec π this manpage was automatically generated from mtools's texinfo documentation, which means it might not be entirely accurate or complete. it's giving "made by a script, not a person." see the end of this man page for the details, bestie.
β¨ Description β¨
so like, the mlabel command adds a volume label to a disk π its syntax is:
mlabel [-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. and if you want to delete an existing volume label? just press return at the prompt. iconic. bye label π
the label is limited to 11 single-byte characters, e.g. Name1234567. that's the cap, no exceptions.
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:
cβ Clears an existing label, without prompting the user. no questions asked, just gone β¨sβ Shows the existing label, without prompting the user. it's giving "just let me look" πnβ Assigns a new (random) serial number to the disk π²Nserial β Sets the supplied serial number. the serial number should be supplied as an 8 digit hexadecimal number, without spaces β so like1A2B3C4Dvibes, no lil gaps pls.
π See Also π
- Mtools' texinfo doc π
π¦ Viewing the texi doc π¦
okay so this manpage has been automatically generated from mtools's texinfo documentation π but here's the tea: this process is only approximative, and some items β like 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. so like, 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 http://www.gnu.org/software/mtools/manual/mtools.html π
- 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. so yeah, print it or html it, bestie π«Ά
fr fr, that's the whole page β no secrets, no hidden flags, everything's up there π
and that's a wrap, babe π this lil page came to you straight from mtools-4.0.49, dated 14Jun25, and it's the mlabel(1) manpage herself. go forth and label those disks, you absolute main character ππ
π¦ where this page comes from
- alpine 3.23: mtools-doc 4.0.49-r0 Β· GPL-3.0-or-later
- alpine 3.24: mtools-doc 4.0.49-r0 Β· GPL-3.0-or-later
- fedora 43: mtools 4.0.49-2.fc43 Β· GPL-3.0-or-later
- fedora 44: mtools 4.0.49-3.fc44 Β· GPL-3.0-or-later
- nixos 26.05: mtools 4.0.49
- nixpkgs unstable: mtools 4.0.49
- ubuntu resolute: mtools 4.0.49-1 Β· GPL-3.0-only
- ubuntu stonking: mtools 4.0.49-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms