From: Simon Gao <gao@schrodinger.com>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: top level mount point
Date: Tue, 11 Sep 2007 10:55:16 -0700 [thread overview]
Message-ID: <46E6D684.7010808@schrodinger.com> (raw)
In-Reply-To: <1189502864.3585.10.camel@raven.themaw.net>
Ian Kent wrote:
> On Tue, 2007-09-11 at 16:46 +0930, Shane wrote:
>
>> Hey All,
>>
>> I'm trying to get a "top-level" automount to work. eg
>>
>> /home -rw,vers=3,fstype=nfs,intr,hard,tcp,rsize=32768,wsize=32768
>> srv1:/export/home/
>>
>> I've tried a few things so far - putting that exactly as is into
>> /etc/auto.master, created an auto.direct file and put /- auto.direct
>> into auto.master neither any joy - also tried /home auto.home in
>> auto.master and above but with * or / as the key as contents of
>> auto.home none are working.
>>
>
> Not valid in auto.master.
>
> An indirect map must have keys that are a directory component only, that
> is no "/"s.
>
> So, in auto.master you can have:
>
> /home auto.home
>
> and auto.home as:
>
> * srv1:/export/home/&
>
> to mount /home/myname as srv1:/export/home/myname
>
> You could leave out the "&" but I'm not sure that would be useful.
>
>
>> Firstly is this actually possible? Though I have no idea how Apple
>> translate our maps into something automount uses they do get around
>> this but /home is a symlink to somewhere like
>> /private/var/automount/home. If its possible ...what have I missed to
>> get this working?
>>
>
> No, not possible with version 4.
>
> Single level indirect maps aren't possible by definition.
>
> Single level direct maps are possible with version 5.
>
> So, in auto.master you could have:
>
> /- auto.home
>
> and auto.home:
>
> /home svr1:/export/home
> /other/dir other:/export/other
>
> and the like.
>
> Ian
>
>
Is there a good way to set up ldap entries so autofs 4 and 5 can each
find and match its own version of automount maps?
Many times, one has to run different versions of Redhat distributions
and not able to migrate to RHEL5 all together.
Simon
next prev parent reply other threads:[~2007-09-11 17:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-11 7:16 top level mount point Shane
2007-09-11 9:27 ` Ian Kent
2007-09-11 17:55 ` Simon Gao [this message]
2007-09-12 5:26 ` Ian Kent
2007-09-12 18:17 ` Wolfe, Allan
2007-10-01 15:05 ` Jeff Moyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46E6D684.7010808@schrodinger.com \
--to=gao@schrodinger.com \
--cc=autofs@linux.kernel.org \
--cc=raven@themaw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.