Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

labelit_ufs(8)

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(8).

Options

The following option is supported:

generic_options

options supported by the generic labelit command. See labelit(8).

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(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/file-system/ufs

See Also

ufs(4FS), attributes(7), labelit(8), volcopy(8)