Wolfgang Jährling <[EMAIL PROTECTED]> writes: > Moritz told me that find uses an optimization that causes it to ignore > some directories in Shadowfs: The "struct stat" for a directory contains > the number of links to the directory, which also tells us the number of > subdirectories, as we have a ".." link from each subdir plus two other > links ("." and the link to it in its parent directory). Thus, if find > has processed st_nlink-2 subdirs, it assumes there are no more. And > Shadowfs simply returned the struct stat for one of its underlying > directories.
This is a real bug in shadowfs. Hurd directory servers are required to provide the correct st_nlink value, which is always the number of subdirs, plus two. _______________________________________________ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd