[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


John wrote:

> 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:
http://marc.theaimsgroup.com/?l=linux-kernel&m=113024904306128&w=2

[Al] *the* corresponding mountpoint?  Which one?  There might be any number of those...

Cheers, Roderich


More information about the hal mailing list