"updatedb" (aka "updatedb.mlocate") is configured in the file /etc/updatedb.conf. In that file there is a PRUNEPATHS and a PRUNEFS variable that will allow you to control what directories or file systems are searched by updatedb. If you are mounting your SD card under /media, then the PRUNEPATHS variable should contain /media.
The 10.04 Lucid default /etc/updatedb.conf contains:
Code:
PRUNE_BIND_MOUNTS="yes"
# PRUNENAMES=".git .bzr .hg .svn"
PRUNEPATHS="/tmp /var/spool /media"
PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf fuse.
glusterfs fuse.sshfs ecryptfs fusesmb devtmpfs"
Bookmarks