I'm using mdev with hotplug from busybox to dynamically detect USB.
I have configured /etc/mdev.conf which is to run a script on detection of device sdb[1-9].
The script is being run when USB is connected, however this only happens when given command:
I have done:
echo /sbin/mdev > /proc/sys/kernel/hotplug
Why is this is not happening dynamically?
Is there some work around for this?