[arch-general] findutils and locate

P .NIKOLIC p.nikolic1 at btinternet.com
Sun Apr 15 11:38:01 EDT 2012

On Sun, 15 Apr 2012 15:41:55 +0200
Martti Kühne <mysatyre at gmail.com> wrote:

> On Sun, Apr 15, 2012 at 01:49:41PM +0100, P .NIKOLIC wrote:
> > 
> > Right mlocate is installed   updatedb takes no time it is instant it
> > fails to read a thing   .. it attempts to reads the NAS drive that
> > i do NOT want read  thats it nothing else 
> > 
> > now can we have some sensible replies please ..
> > 
> > Pete .
> try to ignore the bad vibes here and beat someone up IRL, it's more
> satisfying.
> man updatedb.conf mentions PRUNEPATH. did you set that
> in /etc/updatedb.conf? can you paste your config, while we're at it?
> cheers!
> mar77i

Hi ..

Yes some people i would really like to meet face to face  but still ..

Right my /etc/updatedb.conf is as follows  
# directories to exclude from the slocate database:
PRUNEPATHS="/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run /var/spool /home/pete/nas /home/pete/Movies /home/pete/Music /home/pete/nas1"

# filesystems to exclude from the slocate database:
PRUNEFS="afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs
devpts devtmpfs ftpfs iso9660 mqueue ncpfs nfs nfs4 proc ramfs
securityfs shfs smbfs sshfs sysfs tmpfs udf usbfs vboxsf"

yet i get zero file finds for any file name that i know is definately
on the system in a location that IS searchable

Thanks   Pete 

Linux 7-of-9 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 06:46:17 UTC 2012
x86_64 AMD Phenom(tm) 9600B Quad-Core Processor AuthenticAMD GNU/Linux

More information about the arch-general mailing list