xref: /onnv-gate/usr/src/cmd/tsol/demo/getmounts.sh (revision 4746:0bc0c48f4304)
1*4746Srica#!/bin/sh
2*4746Srica#
3*4746Srica# CDDL HEADER START
4*4746Srica#
5*4746Srica# The contents of this file are subject to the terms of the
6*4746Srica# Common Development and Distribution License (the "License").
7*4746Srica# You may not use this file except in compliance with the License.
8*4746Srica#
9*4746Srica# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*4746Srica# or http://www.opensolaris.org/os/licensing.
11*4746Srica# See the License for the specific language governing permissions
12*4746Srica# and limitations under the License.
13*4746Srica#
14*4746Srica# When distributing Covered Code, include this CDDL HEADER in each
15*4746Srica# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*4746Srica# If applicable, add the following below this CDDL HEADER, with the
17*4746Srica# fields enclosed by brackets "[]" replaced with your own identifying
18*4746Srica# information: Portions Copyright [yyyy] [name of copyright owner]
19*4746Srica#
20*4746Srica# CDDL HEADER END
21*4746Srica#
22*4746Srica# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*4746Srica# Use is subject to license terms.
24*4746Srica#
25*4746Srica#ident	"%Z%%M%	%I%	%E% SMI"
26*4746Srica#
27*4746Srica
28*4746Sricacut -f2 /etc/mnttab | while read mntpnt; do
29*4746Srica	/usr/bin/getlabel $mntpnt
30*4746Sricadone
31