[PATCH] do not stat autofs mounts(was Re: hall and autofs)

John (J5) Palmieri johnp at redhat.com
Wed May 17 11:59:34 PDT 2006


Here is a patch to ignore autofs mounts when stating.  I basically just
added a || strcmp (fstype, "autofs") == 0 to the nfs patch.  It is built
in Fedora Rawhide and seems to work.

On Thu, 2006-04-27 at 21:51 +0800, Ian Kent wrote:
> Hi all,
> 
> I look after autofs and I've had a couple of reports about file systems
> being immediately remounted after they have expired and stopping the HAL
> daemon stops it from happening. Apparently it has started recently,
> Fedora Core 5. It contains version 0.5.7.
> 
> Anyone able to direct me to the right place in the code base or offer
> any suggestion as to how to resolve this problem?
> 
> Ian
> 
> 
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal

-- 
John (J5) Palmieri <johnp at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-donot-stat-autofs-mounts.patch
Type: text/x-patch
Size: 934 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20060517/1391adfd/hal-donot-stat-autofs-mounts.bin


More information about the hal mailing list