mtools: mlabel

1 
1 4.16 Mlabel
1 ===========
1 
1 The `mlabel' command adds a volume label to a disk. Its syntax is:
1      `mlabel' [`-vcsn'] [`-N' SERIAL] DRIVE:[NEW_LABEL]
1 
1    `Mlabel' displays the current volume label, if present. If NEW_LABEL
1 is not given, and if neither the `c' nor the `s' options are set, it
1 prompts the user for a new volume label.  To delete an existing volume
1 label, press return at the prompt.
1 
1    The label is limited to 11 single-byte characters, e.g.
1 `Name1234567'.
1 
1    Reasonable care is taken to create a valid MS-DOS volume label.  If
1 an invalid label is specified, `mlabel' changes the label (and displays
1 the new label if the verbose mode is set). `Mlabel' returns 0 on
1 success or 1 on failure.
1 
1    Mlabel supports the following options:
1 `c'
1      Clears an existing label, without prompting the user
1 
1 `s'
1      Shows the existing label, without prompting the user.
1 
1 `n'
1      Assigns a new (random) serial number to the disk
1 
1 `N SERIAL'
1      Sets the supplied serial number. The serial number should be
1      supplied as an 8 digit hexadecimal number, without spaces
1