All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Kent <raven@themaw.net>
To: Gordon Lack <gml4410@ggr.co.uk>
Cc: autofs@linux.kernel.org
Subject: Re: autofsv5 enhancement - map names in /proc/mounts
Date: Tue, 14 Nov 2006 19:42:54 +0800	[thread overview]
Message-ID: <1163504574.3297.34.camel@localhost> (raw)
In-Reply-To: <455993D9.4010003@ggr.co.uk>

On Tue, 2006-11-14 at 10:00 +0000, Gordon Lack wrote:
> Ian Kent wrote:
> > 
> > I'd like to find a simple way to accommodate this while retaining the
> > multiple map functionality.
> 
>     Fine by me.  Bear in mind that the map-name (the bit I'm suggesting 
> should be added to /proc/mounts) will be different.  eg: from your 
> original example:
> 
>   /home	/etc/auto.server1.home
>   /home	/etc/auto.server2.home
> 
> So we'd end up with 2 lines in /proc/mounts:
> 
>   /etc/auto.server1.home /home autofs ....
>   /etc/auto.server2.home /home autofs ....

We would need to do something different as there will only ever be one
mount and so only one line in /proc/mounts.

Perhaps something like:

/etc/auto.server1.home,/etc/auto.server2.home	/home	autofs ....

and that could be further simplified by using nsswitch with "files" as a
source (you know they will be in /etc if not otherwise specified):

auto.server1.home,auto.server2.home	/home	autofs ....

> 
> (I think...although whether the patch I sent is sufficient to achieve 
> that I don't know)
> 

Well no, but it's fairly straight forward.

Ian

      reply	other threads:[~2006-11-14 11:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-07 15:02 -hosts and -null enabling for autofs v4.1.x Gordon Lack
2006-07-13 13:10 ` Ian Kent
2006-07-13 13:42 ` Jeff Moyer
2006-07-14 11:33   ` Gordon Lack
2006-07-14 13:31     ` Jeff Moyer
2006-07-14 15:58       ` Gordon Lack
2006-08-07  6:56         ` Ian Kent
2006-08-22 14:03 ` Bug (and patch) in autofs init.d script (v4.1.4) Gordon Lack
2006-08-22 14:18 ` Enhancement patch for autofs v4.1.4 init.d script Gordon Lack
2006-09-08 11:31   ` Bug in autofs v4.1.4 init.d script (and fix) Gordon Lack
2006-09-12 12:58     ` Bug in autofs v4.1.4 init.d script for reload " Gordon Lack
2006-09-13  9:42       ` Gordon Lack
2006-11-10 11:58 ` autofsv5 bug. Non-existent dirs get "mounted"! Gordon Lack
2006-11-10 12:05   ` autofsv5 enhancement - map names in /proc/mounts Gordon Lack
2006-11-10 17:33     ` autofsv5 - mouting files (not dirs) Gordon Lack
2006-11-11  2:58       ` Ian Kent
2006-11-11  2:53     ` autofsv5 enhancement - map names in /proc/mounts Ian Kent
2006-11-13 10:09       ` Gordon Lack
2006-11-13 15:44         ` Ian Kent
2006-11-13 16:58           ` Gordon Lack
2006-11-14  2:00             ` Ian Kent
2006-11-14 10:00               ` Gordon Lack
2006-11-14 11:42                 ` Ian Kent [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=1163504574.3297.34.camel@localhost \
    --to=raven@themaw.net \
    --cc=autofs@linux.kernel.org \
    --cc=gml4410@ggr.co.uk \
    /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.