'\" te .\" Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. .\" Copyright 1989 AT&T .TH labelit 1M "31 Oct 2000" "SunOS 5.11" "System Administration Commands" .SH NAME labelit \- list or provide labels for file systems .SH SYNOPSIS .LP .nf \fBlabelit\fR [\fB-F\fR \fIFSType\fR] [\fB-V\fR] [\fB-o\fR \fIFSType-specific-options\fR] \fIspecial\fR [\fIoperands\fR] .fi .SH DESCRIPTION .sp .LP The \fBlabelit\fR utility is used to write or display labels on unmounted disk file systems. .SH OPTIONS .sp .LP The following options are supported: .sp .ne 2 .mk .na \fB\fB-F\fR \fIFSType\fR\fR .ad .RS 13n .rt Specify the \fIFSType\fR on which to operate. The \fIFSType\fR should either be specified here or be determinable from \fB/etc/vfstab\fR by matching the \fIspecial\fR with an entry in the table. If no matching entry is found, the default file system type specified in \fB/etc/default/fs\fR will be used. .RE .sp .ne 2 .mk .na \fB\fB-V\fR\fR .ad .RS 13n .rt Echo complete command line. This option may be used to verify and validate the command line. Additional information obtained using a \fB/etc/vfstab\fR lookup is included in the output. The command is not executed. .RE .sp .ne 2 .mk .na \fB\fB-o\fR\fR .ad .RS 13n .rt Specify \fIFSType\fR-specific options. See the manual page for the \fBlabelit\fR module specific to the file system type. .RE .SH OPERANDS .sp .LP The following operands are supported. If no operands are specified, \fBlabelit\fR will display the value of the labels. .sp .ne 2 .mk .na \fB\fIspecial\fR\fR .ad .RS 12n .rt The disk partition (for example, \fB/dev/rdsk/c0t3d0s6\fR). The device may not be on a remote machine. .RE .sp .ne 2 .mk .na \fB\fIoperands\fR\fR .ad .RS 12n .rt \fIFSType\fR-specific operands. Consult the manual page of the \fIFSType\fR-specific \fBlabelit\fR command for detailed descriptions. .RE .SH USAGE .sp .LP See \fBlargefile\fR(5) for the description of the behavior of \fBlabelit\fR when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes). .SH EXIT STATUS .sp .LP The following exit values are returned: .sp .ne 2 .mk .na \fB\fB0\fR\fR .ad .RS 12n .rt Write or display of labels was successful. .RE .sp .ne 2 .mk .na \fBnon-zero\fR .ad .RS 12n .rt An error occurred. .RE .SH FILES .sp .ne 2 .mk .na \fB\fB/etc/vfstab\fR\fR .ad .RS 19n .rt List of default parameters for each file system. .RE .sp .ne 2 .mk .na \fB\fB/etc/default/fs\fR\fR .ad .RS 19n .rt Default local file system type. Default values can be set for the following flags in \fB/etc/default/fs\fR. For example: .sp .ne 2 .mk .na \fB\fBLOCAL=ufs\fR\fR .ad .br .na \fB\fBLOCAL\fR\fR .ad .RS 13n .rt The default partition for a command if no \fIFSType\fR is specified. .RE .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/core-os .TE .SH SEE ALSO .sp .LP \fBlabelit_hsfs\fR(1M), \fBlabelit_udfs\fR(1M), \fBlabelit_ufs\fR(1M), \fBvolcopy\fR(1M), \fBvfstab\fR(4), \fBattributes\fR(5), \fBlargefile\fR(5) .SH NOTES .sp .LP This utility may not be supported for all \fIFSTypes\fR.