Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wheezy

macrumors 65816
Original poster
Apr 7, 2005
1,280
1
Alpine, UT
My friend has a firewire drive with about 200GB of music on it, but it's formatted FAT32 and searching is slow and painful. Can I index a FAT32 drive? I'm thinking no, but thought I'd ask. Also, how do you force index a drive?
 

mrichmon

macrumors 6502a
Jun 17, 2003
873
3
Eidorian said:
FAT32 doesn't have all of the metadata storing abilities of +HFS.

Spotlight does not rely on the metadata maintained in the HFS+ filesystem. The Spotlight indexes are maintained in directories at the root of the filesystem. FAT32 volumes can be indexed by Spotlight.
 

Eidorian

macrumors Penryn
Mar 23, 2005
29,190
386
Indianapolis
mrichmon said:
Spotlight does not rely on the metadata maintained in the HFS+ filesystem. The Spotlight indexes are maintained in directories at the root of the filesystem. FAT32 volumes can be indexed by Spotlight.
Note: I said FAT32 doesn't have "all" of the metadata abilities of HFS+. You'll be able to search by filename and creation/modification data.
 

dr_lha

macrumors 68000
Oct 8, 2003
1,633
176
Eidorian said:
Note: I said FAT32 doesn't have "all" of the metadata abilities of HFS+. You'll be able to search by filename and creation/modification data.
Actually it is possible to turn on full Spotlight Indexing on for a FAT32, I just tried it with a USB pen drive. I used mdutil to turn on indexing and low and behold, it worked. I checked a few word documents using "mdls" and its indexed the authors and titles of the documents, which it didn't before, so I think its working fine.

Note, it didn't create a .Spotlight-V100 directory on the pen drive, so presumably its put it in the system one.
 

mrichmon

macrumors 6502a
Jun 17, 2003
873
3
Eidorian said:
Note: I said FAT32 doesn't have "all" of the metadata abilities of HFS+. You'll be able to search by filename and creation/modification data.

My point was that the metadata abilities of HFS+ are not relevant to the question.

I have just created a Disk Image, partitioned the image using MBR and formatted the image using MS-DOS (FAT16). I then added a couple of PDFs files to the disk image and used "mdutil" to turn on indexing on this file system and to erase the spotlight index and thus force a reindex of the drive.

Subsequent spotlight searches when this disk image is mounted returns search hits based on the content of the PDFs. (The search was "The first 13 states" since the pdf documents were about US History.) When the image is not mounted, the spotlight searches do not return the files stored on the disk image.
 

dr_lha

macrumors 68000
Oct 8, 2003
1,633
176
mrichmon said:
My point was that the metadata abilities of HFS+ are not relevant to the question.

I have just created a Disk Image, partitioned the image using MBR and formatted the image using MS-DOS (FAT16). I then added a couple of PDFs files to the disk image and used "mdutil" to turn on indexing on this file system and to erase the spotlight index and thus force a reindex of the drive.

Subsequent spotlight searches when this disk image is mounted returns search hits based on the content of the PDFs. (The search was "The first 13 states" since the pdf documents were about US History.) When the image is not mounted, the spotlight searches do not return the files stored on the disk image.
I.e. the guys at Apple are smarter than we think. ;)
 

wheezy

macrumors 65816
Original poster
Apr 7, 2005
1,280
1
Alpine, UT
I searched around and found mdutil terminal stuff, but it won't work for me on this drive, when I type:

sudo mdutil -i on /VOLUME/MUSIC

I get this error:

Could not set indexing status for volume.


Can it not be done with this drive? It is formatted FAT32

EDIT: I changed it to VOLUMES with an S, now it's enabled....
 

wheezy

macrumors 65816
Original poster
Apr 7, 2005
1,280
1
Alpine, UT
And I'm back, the process 'mds' is using up all my CPU and I read that that is the process that does the spotlight journaling or whatever, so, it must be working! It'll take a while though since it's about 200GB's, but, I'm very happy about this cause searching on it has been slow, and painful, very slow and painful.

THANKS!!!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.