All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Huesken <autofs@lonely-star.org>
To: autofs@linux.kernel.org
Subject: autofs updating ghost direcotry for removable devices
Date: Mon, 9 Mar 2009 23:53:52 +0100	[thread overview]
Message-ID: <20090309225352.GA22229@SamZwo> (raw)

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?

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

Thanks!
Nathan

             reply	other threads:[~2009-03-09 22:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-09 22:53 Nathan Huesken [this message]
2009-03-10  0:43 ` autofs updating ghost direcotry for removable devices Ian Kent
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=20090309225352.GA22229@SamZwo \
    --to=autofs@lonely-star.org \
    --cc=autofs@linux.kernel.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.