All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Moyer <jmoyer@redhat.com>
To: Stef Bon <stef@bononline.nl>
Cc: autofs@linux.kernel.org
Subject: Re: Add mountpoints to mastermap dynamically.
Date: Mon, 28 Apr 2008 10:36:55 -0400	[thread overview]
Message-ID: <x49zlredp14.fsf@segfault.boston.devel.redhat.com> (raw)
In-Reply-To: <4815DC61.1080501@bononline.nl> (Stef Bon's message of "Mon, 28 Apr 2008 16:17:05 +0200")

Stef Bon <stef@bononline.nl> writes:

> Hello,
>
> again a question.
>
> The construction I'm working on does add a mountpoint dynamically to an 
> existing map.

The subject says you're adding a new entry to the master map.  This
sentence sounds like you're adding an entry to an existing map.  The
second should be caught automatically by the daemon, so no need to
reload.

> After added (first some checking the mountpoint is not already included) 
> a reload is
> done with the running automount (HUP signal). The same after removing a 
> mountpoint.
>
> It works very good, but I'm wondering, is this the way to do this??
> Isn't there a autofsctl program???

You could do, 'service autofs reload' instead.  Or maybe you should
investigate direct maps.  I'm not sure, since I know very little of your
setup.

Cheers,
Jeff

  reply	other threads:[~2008-04-28 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28 14:17 Add mountpoints to mastermap dynamically Stef Bon
2008-04-28 14:36 ` Jeff Moyer [this message]
2008-04-28 15:39   ` Stef Bon
2008-04-28 15:36 ` 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=x49zlredp14.fsf@segfault.boston.devel.redhat.com \
    --to=jmoyer@redhat.com \
    --cc=autofs@linux.kernel.org \
    --cc=stef@bononline.nl \
    /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.