[RHCE] Re: autofs question - should automounted directory exist or not?
Wolf Dreamer
rhce@trilug.org
Thu, 16 Jan 2003 02:22:22 GMT
Please see below...
Jeremy Portzer writes:
> I assume technical questions are game on this list, as long as the
> correspond to potential RHCE topics? If not, please ignore.
>
> ====
>
> Has anyone here used or played around with autofs / automountd?
>
> In the RHL 8.0 _Customization Guide_, there's a brief section:
> http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-nfs-mount.html
>
> Quoting from the bottom of this page:
> "The first field in /etc/auto.misc is the name of the /misc
> subdirectory. This directory is created dynamically by automount. It
> should not actually exist on the client machine."
>
> But then the very next paragraph says:
>
> "Note
>
> "The directory /misc must exist on the local file system. There should
> be no subdirectories in /misc on the local file system. "
>
> So which is correct? Does the automounted sub-directory, /misc need to
> be created or not? Is this a documentation error or am I missing
> something completely here?
I would think having them on each client machine is the best way to make it
work. I have that file on each machine. If you are using a information
service like NIS, NIS+ or LDAP-it would only work if each machine were
exactly the same-and that is not the case for me-even on the cluster.