Lukas Haase <lukasha...@gmx.at> writes:

> Hi,
>
> I have the problem that I have an indirect mount in
> "/var/lib/vz/root/500/media/media". Unfortunately this directory does
> not always exists (particulary not on system startup).

So it doesn't get mounted automatically?  If it *is* mounted as part of
startup, then it sounds like you just need to move that sooner in your
boot order.

> The directory exists as soon as another filesystem
> "/var/lib/vz/root/500" is mounted. I have the possibility to execute a
> script when that filesystem is mounted and umounted.

> Do I have the possibility to add/remove this indirect mount somehow
> "on the fly"?

You would have to script this yourself.  There is no real api to tell
the automounter to add map entries.

Cheers,
Jeff

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to