将主设备号和次设备号转换成dev_t类型
mkdev pvcreate 创建物理卷
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等命令时会触发此事件。
For these devices, first run a mkdev operation to make the device available, then run chdev to set the device to be available upon reboot.
对于这些设备,首先运行mkdev操作以使设备可用,然后运行chdev将设备设置为重启后可用。
应用推荐