getattrlist(2) and Spotlight indexing status
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hCi27Y39rolGBKUcsok7X15aJxJZDbJJC+D/i6m/vH8ZzZ58UwXi+Q09Y0m3944Nmmzqhvubr482IYJNnWi6MFhFRasMre5J72dVGorRGZAOdthyb7foZlBlPh+LYajt7HP/8BGB9eishmS2NIopIDrLwaOdO7jgt9QVkCwV7ng= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=dLTDC8W/8kRgFNqhmBHbQU5TB/KUWq3gYrd5uWkrIZIMUQXqYRcJw6mR/Ot5jwLF8v8iPAW4U3FKoC9GzB5B787/Rt5P57yfVbptXjrwkOEXQi4eBWelmJ1g5DOUtrGidsdyON+r/VUiMY27tzr4x4q+KDbmWs/vmkOFsMfi9dY= 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Isaac Huang