Re: Finder does not see any content behind a mount point
Re: Finder does not see any content behind a mount point
- Subject: Re: Finder does not see any content behind a mount point
- From: Alexander Dimitrov <email@hidden>
- Date: Fri, 23 May 2014 21:38:25 +0300
Hi Vadim,
Finder is normally reading the content of the volume using the getdirentriesattr(2) which calls the readdirattr callback to the vfs plugin. Is it possible that you are returning an empty buffer on this call?
Have you stated that you support this call in f_capabilities part of vfs_attr, returned by vfs_getattr? If I remember correctly if you don't set its bit Finder should call readdir(like ls(1)) instead of readdirattr and then getattrlist on every entry, which will come as vnode_getattr in your fs.
You could also try running
sudo fs_usage -w Finder
and see what file system calls it makes when you try to open your volume in Finder. The above command will also list return errors in [ ] if any occurs.
Good luck,
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden