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 -F udfs [generic_options] [-o specific_options] special [fsname volume]
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.
The following options are supported: generic_options
Specify generic_options supported by the generic labelit command. See labelit(1M) for descriptions of supported 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.
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.
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.
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.
Specify fsname as the mount point, (for example, root, u1, and so forth), of the file system.
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.
The following exit values are returned: 0
Successful completion.
An error occurred.
labelit(1M), attributes(5)