> Well, I think the best solution to this problem would be to split the
> usage count into two values 'used' and 'rmmodable'.

No, I don't think it's wise. It introduces unnecessary complexity.

> Because there are modules (namely USB) that are used and are
> possible to rmmod

I don't understand here. If they are used, it's not possible to rmmod
them.  The issue is defining what counts as "used". Being registered
to usbcore in my opinion shouldn't count as "used", while controlling
a plugged-in device should count as used. If one needs to remove the
usbmouse module, for example, (s)he should first disconnect the mouse,
to the usbmouse module will be notified and will drop the usage count.

BTW: it would be nice to have kmod support when people plugs devices
in.  Shall I try to implement it? Note however that I'd take a few
days, as I have more prioritized things to do first.

/alessandro

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to