All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Kent <raven@themaw.net>
To: Nathan Huesken <autofs@lonely-star.org>
Cc: autofs@linux.kernel.org
Subject: Re: autofs updating ghost direcotry for removable devices
Date: Tue, 10 Mar 2009 09:43:44 +0900	[thread overview]
Message-ID: <49B5B7C0.8050907@themaw.net> (raw)
In-Reply-To: <20090309225352.GA22229@SamZwo>

Nathan Huesken wrote:
> Hi,
> 
> I am using autofs with the ghost parameter.
> What I would like is autofs to update the "ghost directories" according
> to removable devices plugged in or removed.
> I found this:
> http://code.google.com/p/hal-autofs/
> 
> This python program rewrites the autofs config file when a device is
> plugged in or removed. Very good.
> Now I need to figure out how to make autofs aware of these changes.
> I could just restart autofs (I first need to refresh my python to do
> that).
> 
> I wonder:
> 
> Could I get into trouble when restarting autofs while a autofs
> managed device is mounted?

Possibly, depends if a mount is in use.

> 
> Does anybody have a better Idea of how to do what I want to do?

man automount(8), snd it a HUP signal.

> 
> Thanks!
> Nathan
> 
> _______________________________________________
> autofs mailing list
> autofs@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/autofs

  reply	other threads:[~2009-03-10  0:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-09 22:53 autofs updating ghost direcotry for removable devices Nathan Huesken
2009-03-10  0:43 ` Ian Kent [this message]
2009-03-10 10:18   ` Nathan Huesken

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=49B5B7C0.8050907@themaw.net \
    --to=raven@themaw.net \
    --cc=autofs@linux.kernel.org \
    --cc=autofs@lonely-star.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.