将主设备号和次设备号转换成dev_t类型
ADAPTER_ADD: Triggered when an interface is added (for example, using mkdev command).
ADAPTER_ADD:添加网络接口时会触发(例如,使用mkdev命令)。
This event is triggered when a node is rebooted; shutdown, crashes or with commands like mkdev and rmdev.
当节点重启、关机、崩溃或使用mkdev和rmdev等命令时会触发此事件。
There is also a deprecated mkdev command, but because cfgmgr handles most device-addition operations, this command is seldom used.
还有一个已经废弃的 mkdev 命令,但是因为 cfgmgr 可以处理大多数设备添加操作,很少使用这个命令。
应用推荐