public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@warthog.cambridge.redhat.com>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: David Howells <dhowells@cambridge.redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] VFS autmounter support
Date: Tue, 24 Jun 2003 16:23:40 +0100	[thread overview]
Message-ID: <18227.1056468220@warthog.warthog> (raw)
In-Reply-To: Message from "H. Peter Anvin" <hpa@zytor.com>  of "Thu, 19 Jun 2003 00:30:33 PDT." <3EF16699.2040900@zytor.com>


> > Sorry... you're correct. That should have been "ls -F" or "ls --color",
> > both of which are, I believe, commonly used - _they_ definitely use stat()
> > as well as lstat().
> 
> Only if S_ISLNK.

I don't know how widespread the practice is, but in the AFS Admin Guide under
"Configuring Your AFS Filespace" / "The Second (Cellname) Level" it suggests
creating symlinks in /afs to provide aliases for cells. For instance, in my
test cell, I've got:

[root@host135 root]# ls -l /afs
total 0
lrwxr-xr-x    1 4077     root           20 Feb  7  2002 cambridge -> cambridge.redhat.com
drw-r--r--    1 4077     root           11 Feb  7  2002 cambridge.redhat.com
drw-r--r--    1 4077     root           29 Mar 27  2002 grand.central.org

Unfortunately, the above command causes cambridge.redhat.com to be mounted
with the follow_link() on directory method you suggested (which is
undesirable):-/

David

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

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-17 14:55 [PATCH] VFS autmounter support David Howells
2003-06-17 16:08 ` H. Peter Anvin
2003-06-17 18:07   ` David Howells
2003-06-17 18:19     ` H. Peter Anvin
2003-06-18  8:37       ` David Howells
2003-06-18  8:48         ` viro
2003-06-18 17:16         ` H. Peter Anvin
2003-06-19  7:20           ` David Howells
2003-06-19  7:30             ` H. Peter Anvin
2003-06-24 15:23               ` David Howells [this message]
2003-06-18  4:55 ` Linus Torvalds
2003-06-18  5:10   ` viro
2003-06-18  7:55     ` David Howells
2003-06-18  8:36       ` viro
2003-06-18 11:01         ` David Howells

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=18227.1056468220@warthog.warthog \
    --to=dhowells@warthog.cambridge.redhat.com \
    --cc=dhowells@cambridge.redhat.com \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox