xref: /titanic_52/usr/src/man/man1m/labelit_ufs.1m (revision 4a5d661a82b942b6538acd26209d959ce98b593a)
te
Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
Copyright 1989 AT&T
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
LABELIT_UFS 1M "Apr 15, 2003"
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.

SEE ALSO

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