Hotplugging with udev
Linux :
2015. 12. 7. 11:43
반응형
출처 : http://free-electrons.com/doc/udev.pdf
To use mdev, the proc and sysfs filesystems must be mounted
mdev must be enabled as the hotplug event manager
echo /sbin/mdev > /proc/sys/kernel/hotplug
Need to mount /dev as a tmpfs:
mount -t tmpfs mdev /dev
Tell mdev to create the /dev entries corresponding to the devices detected during boot when mdev was not running:
mdev -s
The behavior is specified by the /etc/mdev.conf configuration file, with the following format
<device regex> <uid>:<gid> <octal permissions>
[=path] [@|$|*<command>]
Example
hd[az][09]* 0:3 660
반응형
'Linux' 카테고리의 다른 글
fuse porting (0) | 2016.01.04 |
---|---|
Why a memory test script? (0) | 2015.11.25 |
u-boot ramdisk boot 연습 (0) | 2015.11.20 |