linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: linux@sigint.cs.purdue.edu
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] autofs4 symlink size
Date: Wed, 24 Oct 2001 16:00:02 -0500	[thread overview]
Message-ID: <20011024160002.A190@sigint.cs.purdue.edu> (raw)
In-Reply-To: <20011024102050.A12112@sigint.cs.purdue.edu> <9r781a$q9n$1@cesium.transmeta.com>
In-Reply-To: <9r781a$q9n$1@cesium.transmeta.com>; from hpa@zytor.com on Wed, Oct 24, 2001 at 01:24:10PM -0700

On Wed, Oct 24, 2001 at 01:24:10PM -0700, H. Peter Anvin wrote:
> >
> > I sent this to the autofs4 maintainer a while ago, but never heard back.
> > autofs4 doesn't return a size for the symlinks it creates, which is
> > inconsistent with other filesystems.  (The Almquist shell uses the sizes
> > of path components to allocate buffers during a walk, so it can't traverse
> > autofs4-linked paths.)
> 
> That's IMNSHO a bug in the Almquist shell, at least if autofs4 returns
> zero, but it's also a bug in autofs4.

True, ash could do things differently, but I don't think expecting the
filesystem to return correct metadata is a bug.  Should we distrust stat(2)
and count the bytes in a file ourselves, just to be sure?

      reply	other threads:[~2001-10-24 20:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-24 15:20 linux
2001-10-24 20:24 ` H. Peter Anvin
2001-10-24 21:00   ` linux [this message]

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=20011024160002.A190@sigint.cs.purdue.edu \
    --to=linux@sigint.cs.purdue.edu \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [PATCH] autofs4 symlink size' \
    /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

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).