From: Alexander Viro <viro@math.psu.edu>
To: Anthony Heading <anthony@magix.com.sg>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Should mount --bind not follow symlinks?
Date: Mon, 12 Mar 2001 08:40:06 -0500 (EST) [thread overview]
Message-ID: <Pine.GSO.4.21.0103120835390.25792-100000@weyl.math.psu.edu> (raw)
In-Reply-To: <3AACA87D.70C740A8@magix.com.sg>
On Mon, 12 Mar 2001, Anthony Heading wrote:
> Hi,
> My automounted dirs have up till now been symlinks, where
> e.g. /opt/perl defaults to automounting /export/opt/perl/LATEST
> which is a symlink.
>
> This all worked OK until the 2.4(.2) automounter helpfully tries
> to mount --bind /export/opt/perl/LATEST /opt/perl
Don't mix symlinks with mounts/bindings. Too much PITA and yes, it had
been deliberately prohibited. You _really_ don't want to handle the
broken symlinks and all the realted fun - race-ridden at extreme and
useless.
In automount-like setups you can _replace_ symlinks with bindings.
No need to mix them.
Cheers,
Al
next prev parent reply other threads:[~2001-03-12 13:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-12 10:44 Should mount --bind not follow symlinks? Anthony Heading
2001-03-12 13:40 ` Alexander Viro [this message]
2001-03-12 15:37 ` Anthony
2001-03-14 13:31 ` Jamie Lokier
2001-03-26 14:04 ` Anthony
2001-04-16 15:37 ` Kai Henningsen
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=Pine.GSO.4.21.0103120835390.25792-100000@weyl.math.psu.edu \
--to=viro@math.psu.edu \
--cc=anthony@magix.com.sg \
--cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).