Re: udev sysfs docs Re: State of devfs in 2.6?

From: Duncan Sands
Date: Fri Dec 12 2003 - 08:34:40 EST


> 2. Keep track of when devices are used, and when they are not busy.
> We already have this, it's the module reference count.

USB modules (eg: xxxx-hcd) are typically set up so they can be unloaded at any
time: the act of unloading disconnects any devices driven by the module and
frees resources. I guess this is problematic for your point 2. I understand
that some network modules work this way too.

All the best,

Duncan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/