Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

getdevpolicy(8)

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 preceded 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(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/device-administration
Interface Stability
See below

The invocation is evolving. The output is unstable.

See Also

devfs(4FS), attributes(7), privileges(7), add_drv(8), rem_drv(8), update_drv(8)