All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Thommen <frank.thommen@embl-heidelberg.de>
To: Ian Kent <raven@themaw.net>
Cc: autofs@vger.kernel.org
Subject: Re: Using wildcards in multi-mount maps
Date: Sat, 06 Jun 2015 20:02:17 +0200	[thread overview]
Message-ID: <557335A9.2060408@embl-heidelberg.de> (raw)
In-Reply-To: <1433131806.2703.51.camel@pluto.fritz.box>

On 06/01/2015 06:10 AM, Ian Kent wrote:
> On Mon, 2015-06-01 at 11:58 +0800, Ian Kent wrote:
>> On Sun, 2015-05-31 at 20:05 +0200, Frank Thommen wrote:
>>> Hi,
>>>
>>> are wildcards within multi-mount maps supposed to work?
>>
>> Good question.
>>
>>>
>>> I have the following entry in our maps:
>>>
>>> /etc/auto.master (local):
>>>      /mymount yp:mymap --ghost
>>>
>>>
>>> Indirect NIS map for /mymount:
>>>      $ ypmatch webapps mymap
>>>      /*         -timeo=30                   server:/local/exports/&
>>
>> Yeah, that can't work.
>>
>> [...]
>
> The other approach that might be useful is using submounts (Sun map
> format) like:
>
> webapps               -fstype=autofs autofs.wild
>
> where autofs.wild could contain:
> other-offset-submount             -fstype=autofs autofs.other-offsets
> *          -timeo=30               server:/local/exports/&
>
> and the map autofs.other-offsets is a subdirectory of lower level
> mounts. Obviously you would need one of these for each sub directory of
> mounts.

Solved it this way.  Thanks a lot
Frank

      reply	other threads:[~2015-06-06 18:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-31 18:05 Using wildcards in multi-mount maps Frank Thommen
2015-06-01  3:58 ` Ian Kent
2015-06-01  4:10   ` Ian Kent
2015-06-06 18:02     ` Frank Thommen [this message]

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=557335A9.2060408@embl-heidelberg.de \
    --to=frank.thommen@embl-heidelberg.de \
    --cc=autofs@vger.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.