site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Jul 29, 2005, at 1:50 PM, Mike Smith wrote: On Jul 28, 2005, at 1:12 PM, Brian Bergstrand wrote: = Mike Thanks Quinn and Mike. Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFC6oWSedHYW7bHtqIRAkjbAKDza8elRlF3pqz2nbvlTT1NM+rGogCglijg 08ymdxLgANOMO3FtZeEm6ds= =KtDH -----END PGP SIGNATURE----- _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Sometimes I'll see the entries flash in a window for less than a second and then disappear and then other times they'll never appear. I think the problem may be related to our access/getattr calls, but I don't know what to look for. I've looked at NFS and WebDav and our access/getattr are as similar as possible to those. This is typical for the Finder in the case where the initial enumeration found an item, but when a subsequent operation on it returned an error the Finder doesn't think it can do anything useful about. As Quinn suggested, start with fs_usage and look for errors. If getattrlist is failing, take a look at your getattr handler and check that VATTR_ALL_SUPPORTED() returns true against the vnode_attr that you're returning. The VFS will synthesise some fields, but getattrlist(2) will fail if an attribute can't be returned (unlike the VFS-level interface). The problem is we don't support certain things. Is it okay to fill in 0 for fields that we don't support? In particular, va_acl, va_encoding, va_uuuid, and va_guuid, and va_nchildren? Looking at getattrlist in the kernel, it looks like it should ignore or synth these values (although va_nchildren defaults to va_nlink - 2 and we always return 1 for va_nlink, so that would result in an underflow for va_nchildren). I ran fs_usuage, and it looks like getdirentries is return EINVAL for some reason, didn't see any errors elsewhere. So at least I have a place to start now. This email sent to site_archiver@lists.apple.com