this is an off topic question. I'm working on a notify fs, which is a
special version of an overlayfs,
which is aimed to be a better notify monitor than gamin is.
Part of notifyfs is a mountmonitor. It reads /proc/self/mountinfo for
current, added and removed mounts.
A mountmonitor is used to keep track of mounts managed by autofs.
Normallly watches are removed when a fs is unmounted. I'm experimenting with
watches are being set to "sleep" mode when a fs is unmounted by
autofs. When dealing with fs's (USB sticks for example) which have a
small timeout, it get's unmounted a lot.
For apps to setup watches again every time, these sleeping watches,
which are made awake when the fs is mounted again can be handy.
The mountmonitor is checking every mount found. But I wonder, is it
really necessary to keep track of mounts found in /proc, /dev and
/sys, like /sys/fs/cgroup when dealing with watches and keeping track
Get latest updates about Open Source Projects, Conferences and News.