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
> [email protected]
> http://linux.kernel.org/mailman/listinfo/autofs

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to