From: Stef Bon <stef@bononline.nl>
To: Jeff Moyer <jmoyer@redhat.com>
Cc: autofs@linux.kernel.org
Subject: Re: make an executable map rerun.
Date: Wed, 25 Mar 2009 18:47:50 +0100 [thread overview]
Message-ID: <49CA6E46.1050307@bononline.nl> (raw)
In-Reply-To: <x493ad1jz0m.fsf@segfault.boston.devel.redhat.com>
Jeff Moyer wrote:
>>
>> I can look at the contents of /proc/mounts and here I see the autofs
>> tree, which is kept. So I do not understand your remark
>> saying it is consulted every single lookup. Does the option -browse
>> mather here? I'm using that and because this forces the automounter to
>> remember the data right?
>>
>
> OK, I was wrong. Sorry about that (I was confused with the fact that
> program maps don't support the -browse option, since they can't support
> map enumeration). I admit I am not up to speed on v5. However, it
> looks to me like a HUP signal will not cause the service thread for your
> mount point to restart unless the actual program map changed. This
> means the cache will still be in tact, as you observed. I suspect we
> should probably clear the cache for any maptype that does not support
> enumeration upon receiving a HUP signal. Ian, what do you think?
>
> Cheers,
> Jeff
Ok,
question: how does the automounter determine that the acual program map
has changed?
Futher, it may be a good thing to develop an utility which manages
mountpoints and related maps.
(like autofsctl)
One of the things is to make executable maps run again and let the
automounter read the data.
Reloading the configuration is another task.
Stef
next prev parent reply other threads:[~2009-03-25 17:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-25 9:21 make an executable map rerun Stef Bon
2009-03-25 13:07 ` Jeff Moyer
2009-03-25 16:43 ` Stef Bon
2009-03-25 17:25 ` Jeff Moyer
2009-03-25 17:47 ` Stef Bon [this message]
2009-03-26 3:13 ` Ian Kent
2009-03-26 8:35 ` Stef Bon
2009-03-26 10:30 ` Ian Kent
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=49CA6E46.1050307@bononline.nl \
--to=stef@bononline.nl \
--cc=autofs@linux.kernel.org \
--cc=jmoyer@redhat.com \
/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.