> -----Original Message-----
> From: Ian Kent [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 04, 2006 8:38 PM
> To: Rigler, Stephen C.
> Cc: Jeff Moyer; autofs mailing list
> Subject: RE: [autofs] [ANNOUNCE] autofs 5.0.0 beta1
> 
> > Another nice thing to see would be the "-null" option in 
> auto.master.
> > We have machines running clustered filesystems that are also
> > exported via NFS from one or two meta-data servers.  The machines
> > that see the filesystems locally should not automount the fileystems
> > and the "-null" would allow us to exclude them.
> 
> It should understand "-null" but the question is whether it works 
> correctly and how it should work. Give a try and let me know 
> how it goes.
> 
> What would you have in your map in this case?
> 
> Ian

"-null" seems to be working fine.

In my case, my /etc/auto.master has "+yp:auto.master" and then
"/somepath -null" to exclude an indirect mount or "/some/path -null"
to exclude a direct mount.  This is the inverse of the Solaris and
Irix boxes we handle where the "+auto.master" is the last line in
the local file.  I have not tried it with an actual filesystem 
mounted at the mountpoint I'm excluding.

The only inconsistency I've noticed if I remove the "-null" from
an indirect mount I need to restart automount (reload doesn't seem
to pick it back up).  "Reload" does work when I remove the "-null"
from a direct mount.

-Steve

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to