GETDEVPOLICY(1M) Maintenance Commands GETDEVPOLICY(1M)

getdevpolicy - inspect the system's device policy

/usr/sbin/getdevpolicy [device...]

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.

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

The following exit values are returned:

0

Successful completion.

non-zero

An error occurred.

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

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability See below

The invocation is evolving. The output is unstable.

add_drv(1M), rem_drv(1M), update_drv(1M), attributes(5), privileges(5), devfs(7FS)
April 9, 2016 OmniOS