![]() | |||||||||||||
Messages in this thread |
> > 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/ | ||||||||||||
| Last update: 2005-03-22 12:36 [from the cache] ©2003-2008 | |||||||||||||