Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Nov 2012
How to get block device add/remove notification in kernel space ?
my_uevent_ops = kset->uevent_ops;
kset->uevent_ops = my_uevent_ops_callback;
Now I want to port that driver to Ubuntu 12.04 (kernel 3.2.0-32-generic-pae) ,but the kset->uevent_ops is made constant, so it can't hook into it.
Is their any way to get add/remove event notifications of block devices in my device driver?
Also can I use notifier chain for block devices ?
Thanks in advance.