xref: /titanic_50/usr/src/man/man1m/getdevpolicy.1m (revision 6b817808e8a80c4e9c93850856065502cc48f7ad)
te
Copyright (c) 2004, 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]
getdevpolicy 1M "9 Apr 2004" "SunOS 5.11" "System Administration Commands"
NAME
getdevpolicy - inspect the system's device policy
SYNOPSIS

/usr/sbin/getdevpolicy [device.\|.\|.]
DESCRIPTION

Without arguments, getdevpolicy outputs the device policy in effect to standard output.

With arguments, each argument is treated as a pathname to a device and the device policy in effect for that specific device is printed preceeded by the supplied pathname.

USAGE

The device policy adds access restrictions over and above the file permissions.

EXIT STATUS

The following exit values are returned:

0

Successful completion.

non-zero

An error occurred.

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilitySee below

The invocation is evolving. The output is unstable.

SEE ALSO

add_drv(1M), rem_drv(1M), update_drv(1M), attributes(5), privileges(5), devfs(7FS)