All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.5.72: follow_mount / follow_link
Date: 24 Jun 2003 08:42:56 -0700	[thread overview]
Message-ID: <bd9ri0$fn2$1@cesium.transmeta.com> (raw)
In-Reply-To: 20030624145418.GP6754@parcelfarce.linux.theplanet.co.uk

Followup to:  <20030624145418.GP6754@parcelfarce.linux.theplanet.co.uk>
By author:    viro@parcelfarce.linux.theplanet.co.uk
In newsgroup: linux.dev.kernel
>
> On Tue, Jun 24, 2003 at 10:41:59AM -0400, Mike Waychison wrote:
> 
> > The changes made in fs/namei.c@1.42 break this behaviour iff the dentry 
> > being follow_link'ed is a root dentry.  This is becauseo
> 
> ... mixing symlinks and mounting is ripe with very ugly races and corner
> cases.  Not allowed - symlink can't be a mountpoint or a mounted object.
>

Unfortunately, this is probably the only realistic way to ever get
working direct mounts, so please don't dismiss it out of hand.
follow_link on a directory has turned out to be a really useful way of
doing automounting.

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64

  reply	other threads:[~2003-06-24 15:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-24 14:41 [PATCH] 2.5.72: follow_mount / follow_link Mike Waychison
2003-06-24 14:54 ` viro
2003-06-24 15:42   ` H. Peter Anvin [this message]
2003-06-24 23:50     ` jlnance
2003-06-25  0:00       ` H. Peter Anvin
2003-06-25  0:07       ` H. Peter Anvin

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='bd9ri0$fn2$1@cesium.transmeta.com' \
    --to=hpa@zytor.com \
    --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 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.