From: Lukas Haase <lukashaase@gmx.at>
To: autofs@linux.kernel.org
Subject: Using autofs with on non-mounted directory
Date: Wed, 19 Aug 2009 16:18:35 +0200 [thread overview]
Message-ID: <h6h1jt$bbh$1@ger.gmane.org> (raw)
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).
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"?
So I would start autofs without that particular indirect mount and add
it only as soon as /var/lib/vz/root/500 is mounted. Before it is
unmounted, the indirect mount could be removed as well.
Regards,
Luke
next reply other threads:[~2009-08-19 14:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-19 14:18 Lukas Haase [this message]
2009-08-28 14:49 ` Using autofs with on non-mounted directory Jeff Moyer
2009-08-28 16:01 ` Lukas Haase
2009-08-31 3:44 ` Ian Kent
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='h6h1jt$bbh$1@ger.gmane.org' \
--to=lukashaase@gmx.at \
--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.