==> Regarding Re: [autofs] -hosts and -null enabling for autofs v4.1.x; "Gordon 
Lack" <[EMAIL PROTECTED]> adds:

gml4410> Jeff Moyer wrote:
>> 
gml4410> For -null, it just adds the mountpoint location to the list of
gml4410> knownmaps, but doesn't do anything else.
>> 
>> This isn't exactly right.  It should "nullify" the next occurrence of the
>> given mount point, and then go away.
 
gml4410>    That isn't how automount maps are supposed to work (at least
gml4410> not Sun ones, according to how I read the documentation).  Only
gml4410> the *first* occurrence of a mountpoint is supposed to be used -
gml4410> that is meant to override *all* following occurences.

Yes, you are correct.  This line in the man page is what confused me:

     The -null map cancels a previous map for the directory indi-
     cated.

Thanks!

Jeff

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

Reply via email to