[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    labelit(1M) manual page Table of Contents

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:
  1. 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.


    Table of Contents