手册页部分 1M: 系统管理命令

退出打印视图

更新时间: 2014 年 7 月
 
 

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
Availability
system/core-os
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)