[OpenAFS] Linux client and find command in AFS
Esther Filderman
Esther Filderman <mizmoose@gmail.com>
Thu, 7 Apr 2005 14:31:15 -0400
You are right, directories are odd, files are even.
The original Andrew folk wrote a tool called "ws" which is an
AFS-aware find that takes advantage of the inode numbering. You can
find sources and "help pages" in /afs/psc.edu/usr/ecf/src/ws.
On Apr 7, 2005 9:48 AM, Jim Rees <rees@umich.edu> wrote:
> A bit off the subject, but the way to really speed up "find" is to store a
> flag in the directory that says whether each leaf is a file or directory.
> That way you avoid stat on regular files if there are no other predicates
> that require it.
>
> This can be done in afs by cheating, because the viceid is always even for
> files and odd for directories (or maybe it's the other way around).
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>