labelit_udfs.1m revision c10c16dec587a0662068f6e2991c29ed3a9db943
te
Copyright (c) 2000 Sun Microsystems, Inc. All Rights Reserved.
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_udfs 1M "31 Oct 2000" "SunOS 5.11" "System Administration Commands"
NAME
labelit_udfs - provide and print labels for udf file systems
SYNOPSIS

labelit -F  udfs [generic_options] [-o specific_options] special 
 [fsname volume]
DESCRIPTION

The labelit command writes labels on an unmounted disk that contains a universal disk file (udf) system. These labels can be used to identify volumes.

OPTIONS

The following options are supported:

generic_options

Specify generic_options supported by the generic labelit command. See labelit(1M) for descriptions of supported options.

-o specific_options

Specify udfs-file-system-specific options in a comma-separated list with no intervening spaces. The following specific_options are available:

lvinfo1=string

Specify information to be inserted in the LVInfo1 field of the Implementation Use Volume Descriptor. Information in LVInfo1 is generally used to identify the person creating the file system. The maximum length of the string specified is 35 bytes.

lvinfo2=string

Specify information to be inserted into the LVInfo2 field of the Implementation Use Volume Descriptor. Information in LVInfo2 is generally used to identify the organization responsible for creating the file system. The maximum length of the string specified is 35 bytes.

lvinfo3=string

Specify information to be inserted into the LVInfo3 field of the Implementation Use Volume Descriptor. Information in LVInfo3 is generally used to identify the contact information for the medium. The maximum length of the string specified is 35 bytes.

OPERANDS

The following operands are supported:

special

Specify special as the physical disk slice, for example, /dev/rdsk/c0t0d0s6. The device can not be on a remote machine.

fsname

Specify fsname as the mount point, (for example, root, u1, and so forth), of the file system.

volume

Specify volume as the physical volume name.

If none of the options (fsname, volume, specific_options) is specified, labelit prints the current values of fsname, volume, LVInfo1, LVInfo2 and LVInfo3.

EXIT STATUS

The following exit values are returned:

0

Successful completion.

non-zero

An error occurred.

SEE ALSO

labelit(1M), attributes(5)