* autofs updating ghost direcotry for removable devices
@ 2009-03-09 22:53 Nathan Huesken
2009-03-10 0:43 ` Ian Kent
0 siblings, 1 reply; 3+ messages in thread
From: Nathan Huesken @ 2009-03-09 22:53 UTC (permalink / raw)
To: autofs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: autofs updating ghost direcotry for removable devices
2009-03-09 22:53 autofs updating ghost direcotry for removable devices Nathan Huesken
@ 2009-03-10 0:43 ` Ian Kent
2009-03-10 10:18 ` Nathan Huesken
0 siblings, 1 reply; 3+ messages in thread
From: Ian Kent @ 2009-03-10 0:43 UTC (permalink / raw)
To: Nathan Huesken; +Cc: autofs
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-10 10:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-09 22:53 autofs updating ghost direcotry for removable devices Nathan Huesken
2009-03-10 0:43 ` Ian Kent
2009-03-10 10:18 ` Nathan Huesken
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.