Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262931AbTFXPJe (ORCPT ); Tue, 24 Jun 2003 11:09:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265891AbTFXPJe (ORCPT ); Tue, 24 Jun 2003 11:09:34 -0400 Received: from pub237.cambridge.redhat.com ([213.86.99.237]:11240 "EHLO warthog.warthog") by vger.kernel.org with ESMTP id S262931AbTFXPJd (ORCPT ); Tue, 24 Jun 2003 11:09:33 -0400 To: "H. Peter Anvin" cc: David Howells , linux-kernel@vger.kernel.org Subject: Re: [PATCH] VFS autmounter support In-Reply-To: Message from "H. Peter Anvin" of "Thu, 19 Jun 2003 00:30:33 PDT." <3EF16699.2040900@zytor.com> User-Agent: EMH/1.14.1 SEMI/1.14.4 (Hosorogi) FLIM/1.14.4 (=?ISO-8859-4?Q?Kashiharajing=FE-mae?=) APEL/10.4 Emacs/21.2 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Date: Tue, 24 Jun 2003 16:23:40 +0100 Message-ID: <18227.1056468220@warthog.warthog> From: David Howells Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1147 Lines: 28 > > 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/