2 .\" Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved
3 .\" Copyright 1989 AT&T
4 .\" 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.
5 .\" 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.
6 .\" 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]
7 .TH LABELIT 1M "Oct 31, 2000"
9 labelit \- list or provide labels for file systems
13 \fBlabelit\fR [\fB-F\fR \fIFSType\fR] [\fB-V\fR] [\fB-o\fR \fIFSType-specific-options\fR] \fIspecial\fR
20 The \fBlabelit\fR utility is used to write or display labels on unmounted disk
25 The following options are supported:
29 \fB\fB-F\fR \fIFSType\fR\fR
32 Specify the \fIFSType\fR on which to operate. The \fIFSType\fR should either be
33 specified here or be determinable from \fB/etc/vfstab\fR by matching the
34 \fIspecial\fR with an entry in the table. If no matching entry is found, the
35 default file system type specified in \fB/etc/default/fs\fR will be used.
44 Echo complete command line. This option may be used to verify and validate the
45 command line. Additional information obtained using a \fB/etc/vfstab\fR lookup
46 is included in the output. The command is not executed.
55 Specify \fIFSType\fR-specific options. See the manual page for the
56 \fBlabelit\fR module specific to the file system type.
62 The following operands are supported. If no operands are specified,
63 \fBlabelit\fR will display the value of the labels.
70 The disk partition (for example, \fB/dev/rdsk/c0t3d0s6\fR). The device may not
71 be on a remote machine.
80 \fIFSType\fR-specific operands. Consult the manual page of the
81 \fIFSType\fR-specific \fBlabelit\fR command for detailed descriptions.
87 See \fBlargefile\fR(5) for the description of the behavior of \fBlabelit\fR
88 when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
92 The following exit values are returned:
99 Write or display of labels was successful.
115 \fB\fB/etc/vfstab\fR\fR
118 List of default parameters for each file system.
124 \fB\fB/etc/default/fs\fR\fR
127 Default local file system type. Default values can be set for the following
128 flags in \fB/etc/default/fs\fR. For example:
132 \fB\fBLOCAL=ufs\fR\fR
139 The default partition for a command if no \fIFSType\fR is specified.
147 \fBlabelit_hsfs\fR(1M), \fBlabelit_udfs\fR(1M), \fBlabelit_ufs\fR(1M),
148 \fBvolcopy\fR(1M), \fBvfstab\fR(4), \fBattributes\fR(5), \fBlargefile\fR(5)
152 This utility may not be supported for all \fIFSTypes\fR.