man pages section 1M: System Administration Commands

Exit Print View

Updated: July 2014
 
 

labelit_ufs(1M)

Name

labelit_ufs - provide and print labels for ufs file systems

Synopsis

labelit -F ufs [generic_options] special [fsname volume]

Description

labelit is used to write labels on unmounted disk file systems. Such labels may be used to uniquely identify volumes and are used by volume-oriented programs such as volcopy(1M).

Options

The following option is supported:

generic_options

options supported by the generic labelit command. See labelit(1M).

Operands

The following operands are supported:

special

name should be the physical disk section (for example, /dev/dsk/c0d0s6). The device may not be on a remote machine.

fsname

represents the mount point (for example, root, u1, and so on) of the file system.

volume

may be used to represent the physical volume name.

If fsname and volume are not specified, labelit prints the current values of these labels. Both fsname and volume are limited to six or fewer characters.

Exit Status

The following exit values are returned:

0

Write or display of labels was successful.

non-zero

An error occurred.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See also

labelit(1M), volcopy(1M), attributes(5), ufs(7FS)