Go to main content

手册页第 7 部分:标准、环境、宏、字符集和杂项

退出打印视图

更新时间: 2022年7月27日 星期三
 
 

sysobj-device (7)

名称

sysobj-device - storing device objects in the system objects database

描述

The system objects database, sysobj enables the following tasks:

  • Storing objects describing a part of the system, such as devices

  • Looking objects up in a flexible way

  • Associating persistent data in the form of properties with the objects

  • Cross-referencing namespaces in which the objects appear

The following sections provide an overview of how device objects are stored in the system objects database, sysobj.

Object classes

Oracle Solaris uses the following class names to describe devices:

device

Devices

device-minor

Device minor nodes

Namespaces

An object appears in one or more namespaces for each of its classes. The following namespaces are currently defined for the classes of device objects:

device
device-drvinst

The driver@instance namespace

device-devid

devids in string form

device-path

The device path under /devices

device-minor
"device-path"

The device path under /devices

Property classes

Persistent data stored with a system object is called a property. A property can be of any type that the libnvpair(3LIB) library supports. Properties are divided into property classes. The following list specifies the property classes for the device object classes:

device and device-minor
device-meta

The current state and structure

device-sw

Software properties such as driver, and instance

另请参见

libdevid(3LIB), libnvpair(3LIB), libsysobj(3LIB), sysobj_add_alias(3SYSOBJ), sysobj_add_property(3SYSOBJ), sysobj_create(3SYSOBJ), sysobj_event_register(3SYSOBJ), devfs(4FS), sysobjadm(8), sysobjd(8)