Re: Race between "mount" uevent and /proc/mounts?

From: Xavier Bestel
Date: Wed Oct 26 2005 - 09:46:12 EST


On Wed, 2005-10-26 at 16:34, Kay Sievers wrote:

> They are actually events for claim/release of a block device. As uevents
> are bound to kobjects we needed to send these events from an existing device
> which is the blockdev itself.
>
> Sure, the event itself, has nothing to do with a filesystem. The names are
> like this for historical reasons and "CLAIM/RELEASE" may be less confusing.
> The events are used as a trigger to rescan /proc/mounts instead of polling
> it constantly.
>
> If you have a better idea where to plug it, or if we better rename it, we
> should do that...

Make /proc/mount send an inotify event ?


-
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/