All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frank Thommen <frank.thommen@embl-heidelberg.de>
To: autofs@vger.kernel.org
Subject: Using wildcards in multi-mount maps
Date: Sun, 31 May 2015 20:05:45 +0200	[thread overview]
Message-ID: <556B4D79.6030006@embl-heidelberg.de> (raw)

Hi,

are wildcards within multi-mount maps supposed to work?

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/&
    $


On the NIS server the map looks like this:
    webapps \
       /*         -timeo=30                   server:/local/exports/&


However on the client it looks like:

    $ ls /mymount/webapps
    *
    $ ls /mymount/webapps/user
    ls: /mymount/webapps/user: No such file or directory
    $

(/local/exports/user /is/ exported to this client from server)

This is on CentOS 5 with autofs 5.0.1.

Should that work or do I have to solve this mount config in an other way?

Frank


             reply	other threads:[~2015-05-31 18:05 UTC|newest]

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

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=556B4D79.6030006@embl-heidelberg.de \
    --to=frank.thommen@embl-heidelberg.de \
    --cc=autofs@vger.kernel.org \
    /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.