[PATCH ]Re: hal doesn't recognize mounting of devices
Schupp Roderich (extern) BenQ MD PD SWP 2 CM MCH
Roderich.Schupp.extern at mch.siemens.de
Tue Oct 25 07:17:54 PDT 2005
> I was wondering if this wouldn't be the perfect place to use inotify.
> Setup an inotify watch on /proc/mounts and block until we get
> the write finished event. Just a thought.
I don't think that inotify works for virtual filesystems like /proc :(
BTW, in response to my post on LKML Al Viro pointed out a serious
problem with the "read /proc/mounts until correct device number found"
approach in hald:
[Al] *the* corresponding mountpoint? Which one? There might be any number of those...
More information about the hal