Hi Jeff

So automount only checks to see if the maps have changed when it tries
to mount a directory?  What happens if the map source (NIS, LDAP, etc)
is temporarily unreachable?  Is that map marked as deleted?  

Thanks

CC

-----Original Message-----
From: Jeff Moyer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 16 January 2008 5:48 AM
To: Coe, Colin C. (Unix Engineer)
Cc: [email protected]
Subject: Re: [autofs] Query automount maps

"Coe, Colin C. (Unix Engineer)" <[EMAIL PROTECTED]> writes:

> Hi Ian and all
>
> Is there a way I can ask the automount process running on a client
what
> maps it has?  I'd like to be able to say "tell me all the maps you
know
> about" or "tell me the server:/path/to/somewhere for
> /nfs/server/some/path".  Does this make sense?
[...]
> I'm really just after a way of checking that autofs map changes are
> picked up by the clients.

It doesn't actually make sense, and here's why: the automounter won't
recognize the update until a mount is triggered.  As such, you can
just trigger a mount and compare what gets mounted with what you
expect.  Is there some reason that this won't work for you?

Cheers,

Jeff

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.

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

Reply via email to