You are not logged in.
Hi!
Suddenly I realize that my locate do not work properly...
for example I do a "locate *.jpg"
and just lists 4 files!
all of them in ~
I did an updatedb (anyway, it is made every night at 00)
deleted the locate db and created it again... always having the same behavior...
any idea?
Last edited by luuuciano (2009-12-19 21:03:20)
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
What do you have in your /etc/updatedb.conf file ?
Edit: And where are the files that you expected to see ?
Last edited by keiss (2009-12-19 20:41:34)
The ability to quote is a serviceable substitute for wit.
Offline
here it is:
$ cat /etc/updatedb.conf
# directories to exclude from the slocate database:
PRUNEPATHS="/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run /var/spool"
# filesystems to exclude from the slocate database:
PRUNEFS="afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs devpts ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs securityfs shfs smbfs sshfs sysfs tmpfs udf usbfs
the files are all over my ~...
4 jpg files in a 150gb hd is a joke...
Last edited by luuuciano (2009-12-19 20:43:01)
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
I would try running updatedb like so:
updatedb --debug-pruning 2>&1 | grep Skipping
and check if the paths where your other .jpg files are aren't being skipped.
The ability to quote is a serviceable substitute for wit.
Offline
mmmm, just the usual stuf...
$ sudo updatedb --debug-pruning 2>&1 | grep Skipping
Skipping `/dev': in prunefs
Skipping `/media': in prunepaths
Skipping `/mnt': in prunepaths
Skipping `/proc': in prunefs
Skipping `/sys': in prunefs
Skipping `/tmp': in prunepaths
Skipping `/var/cache': in prunepaths
Skipping `/var/lock': in prunepaths
Skipping `/var/run': in prunepaths
Skipping `/var/spool': in prunepaths
Skipping `/var/tmp': in prunepaths
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
ooops!
I tried searching... and it works!
no idea what happened... but I could not use locate for a couple of weeks, until now
Last edited by luuuciano (2009-12-19 21:03:59)
I arch, you arch, he arch, she arch, we arch, they arch...
Offline