Volevo escludere alcune directory dai risultati di   /usr/libexec/locate.updatedb    modificando   /etc/locate.rc   . Sfortunatamente se modifico   locate.rc      locate.updatedb    gira per sempre e in realtà non termina - Devo ucciderlo, e quindi il database per locate è un file vuoto. 
 Qualche idea sul perché   locate.rc    non è rispettata? 
 Sono su ML (OS X 10.8), usando bash da Macports (bash 4.2.37 (2) -release), e il mio   locate.rc    legge: 
#
# /etc/locate.rc -  command script for updatedb(8)
#
# $FreeBSD: src/usr.bin/locate/locate/locate.rc,v 1.9 2005/08/22 08:22:48 cperciva Exp $
#
# All commented values are the defaults
#
# temp directory
#TMPDIR="/tmp"
# the actual database
#FCODES="/var/db/locate.database"
# directories to be put in the database
#SEARCHPATHS="/"
# directories unwanted in output
PRUNEPATHS="/tmp /var/tmp /Users/me/.vim /Users/me/.cups /Users/me/tmp"
# filesystems allowed. Beware: a non-listed filesystem will be pruned
# and if the SEARCHPATHS starts in such a filesystem locate will build
# an empty database.
#
# be careful if you add 'nfs'
#FILESYSTEMS="hfs ufs"