getattrlist(2) and Spotlight indexing status
getattrlist(2) and Spotlight indexing status
- Subject: getattrlist(2) and Spotlight indexing status
- From: "Isaac Huang" <email@hidden>
- Date: Tue, 6 Mar 2007 22:47:40 +0800
Hi,
I'm developing a VFS plugin, and I want Spotlight to index volumes of
my filesystem type. When I ran mdutil over a mount point:
sudo mdutil -s /Volumes/lei
Error: Could not get indexing status for volume.
I tried both fs_usage and ktrace/kdump and found that 'mdutil' jumped
to that conclusion after:
565 mdutil NAMI "/Volumes/lei"
565 mdutil RET getattrlist -1 errno 13 Permission denied
565 mdutil GIO fd 1 wrote 50 bytes
" Error: Could not get indexing status for volume.
"
And it didn't even look under /Volumes/lei/.Spotlight-V100.
I read getattrlist manual but couldn't find anything about Spotlight.
It seemed that some volume attribute had something to do with the
indexing status.
So how do I make my volume indexable to Spotlight?
Any hint/suggestion is appreciated.
Thanks,
Isaac
--
Regards, Isaac
() ascii ribbon campaign - against html e-mail
/\ - against microsoft attachments
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden