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
--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html