labelit(1M)
NAME
labelit − list or provide labels for file systems
SYNOPSIS
labelit [ −F FSType ] [ −V ] [ −o specific_options ] special [ operands ]
AVAILABILITY
SUNWcsu
DESCRIPTION
labelit is used to write or display labels on unmounted disk file systems.
OPTIONS
The following options are supported:
−F FSType Specify the FSType on which to operate. The FSType should either be specified here or be determinable from /etc/vfstab by matching the special with an entry in the table. If no matching entry is found, the default file system type specified in /etc/default/fs will be used.
−V Echo complete command line. This option may be used to verify and validate the command line. Additional information obtained using a /etc/vfstab lookup is included in the output. The command is not executed.
−o FSType-specific_options
Specify FSType-specific options in a comma separated (without spaces) list of suboptions and keyword-attribute pairs for interpretation by the FSType-specific module of the command.
OPERANDS
The following operands are supported:
special name should be the disk partition (for example, /dev/rdsk/c0d0s6). The device may not be on a remote machine.
operands FSType-specific operands. Consult the manual page of the FSType-specific labelit(1M) command for detailed descriptions. If no operands are specified, labelit will display the value of the labels.
EXIT STATUS
The following exit values are returned:
0 Write or display of labels was successful.
non-zero An error occurred.
FILES
/etc/vfstab list of default parameters for each file system
/etc/default/fs default local file system type. Default values can be set for the following flags in /etc/default/fs. For example: LOCAL=ufs
LOCAL: The default partition for a command if no FSType is specified.
SEE ALSO
volcopy(1M), vfstab(4)
Manual pages for the FSType-specific modules of labelit
NOTES
This command may not be supported for all FSTypes.
SunOS 5.5/SPARC — Last change: 20 Mar 1995