Re: [PATCH 4/18] make /proc/mounts pollable

From: Greg KH
Date: Mon Nov 07 2005 - 22:11:19 EST


On Tue, Nov 08, 2005 at 02:02:51PM +1100, Neil Brown wrote:
>
> Ahh, now this is interesting.

Yeah, if we do this, we get rid of the "mount"-like kernel uevents, as
they were in the wrong place.

> I wonder if there is any chance of attributes in sysfs being pollable
> too??

I haven't had anyone ask for this yet. It might be a bit harder, as we
would need to have a hook back to sysfs to let userspace know it had
changed. As long as it was optional and didn't cause any overhead for
everyone that does not need it, I don't see why it could not be added.

All we need now is a patch :)

thanks,

greg k-h
-
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/