hotplug 脚本

USB hotplug 脚本,下载

 

http://www.kernel.org/pub/linux/utils/kernel/hotplug/

 

今天提到 linux u盘自动挂载,大致看了一下,基本上就是,插入U盘,内核会调用/sbin/hotplug脚本,hotplug脚本根据具体的设备执行/etc/*.agent 脚本,完成对应的设备操作,脚本就是这回事。

你可能感兴趣的:(linux,脚本)