labelit(1M) manual page
Table of Contents
labelit - list or provide labels for file systems
labelit
[ -F FSType ] [ -V ] [ -o specific_options ] special [ operands ]
SUNWcsu
labelit is used to write or display labels on unmounted disk
file systems.
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.
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.
The following exit
values are returned:
- Write or display of labels was successful.
- non-zero
- An error occurred.
- /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.
volcopy(1M)
, vfstab(4)
Manual pages for the FSType-specific modules of labelit
This command
may not be supported for all FSTypes.
Table of Contents