2 .\" Copyright (c) 2008, Sun Microsystems Inc. All Rights Reserved.
3 .\" 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.
4 .\" 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.
5 .\" 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]
6 .TH GETLABEL 1 "Jul 11, 2008"
8 getlabel \- display the label of files
12 \fB/usr/bin/getlabel\fR [\fB-sS\fR] \fIfilename\fR...
18 \fBgetlabel\fR displays the label that is associated with each \fIfilename\fR.
19 When options are not specified, the output format of the label is displayed in
28 Display the label that is associated with \fIfilename\fR in short form.
37 Display the label that is associated with \fIfilename\fR in long form.
43 \fBgetlabel\fR exits with one of the following values:
50 Successful completion.
59 Unsuccessful completion due to usage error.
68 Unable to translate label.
74 See \fBattributes\fR(5) for descriptions of the following attributes:
82 ATTRIBUTE TYPE ATTRIBUTE VALUE
84 Interface Stability See below.
89 The command line is Committed. The output is Not-an-Interface.
93 \fBsetlabel\fR(1), \fBm_label\fR(3TSOL), \fBlabel_encodings\fR(4),
98 The functionality described on this manual page is available only if the system
99 is configured with Trusted Extensions.