That looks weird. You attempt a modprobe on each and every block device addition/change? That's going to be a lot, and is certainly unnecessary.
Why not just add/remove it from /etc/modules in postinst/prerm?
That looks weird. You attempt a modprobe on each and every block device addition/change? That's going to be a lot, and is certainly unnecessary.
Why not just add/remove it from /etc/modules in postinst/prerm?