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: George K Colley <email@hidden>
- Date: Sun, 25 May 2014 08:26:43 -0700
On May 23, 2014, at 11:38 AM, Alexander Dimitrov <email@hidden> wrote:
> 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
> ______
The getdirentriesattr call is not required and I would not recommend implementing it. Just make sure you don't set the volume cap. Getting a fs_usage would help, you can do a dtrace call to see what options Finder is requesting on getattrlist.
George
> _________________________________________
> 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
_______________________________________________
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