mlabel(1) — Commands
NAME
mlabel − mtools utility to label a DOS volume
SYNOPSIS
mlabel [-v] drive:
FLAGS
-vDisplays the new volume label if the label supplied is invalid.
DESCRIPTION
The mlabel command displays the current volume label, if present, and prompts the user for a new volume label. To delete an existing volume label, press the Return Key at the prompt.
Reasonable care is taken to create a valid DOS volume label. If an invalid label is specified, the mlabel command changes the label and displays the new label if the -v flag is specified.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of mlabel:
MCWDIf set, this variable names the file that contains the name of the current mtools working directory as established by the mcd command. If this variable is not set, the file $HOME/.mcwd is used.
EXIT VALUES
The following exit values are returned:
0Success
1Failure
FILES
$HOME/.mcwdContains the name of the current mtools working directory as established by the mcd command. If this file does not exist, the default mtools working directory is A:\.
/usr/bin/mtools/mlabelExecutable file
RELATED INFORMATION
Commands: mformat(1), mtools(1)