Frederik Himpe a �crit : > > Hi, > > Could the slocate cronscript in /etc/cron.daily/slocate.cron be changed > to exclude directories in /mnt: > #!/bin/sh > /usr/bin/slocate -c -u -e /mnt > > This will stop many complaints from people asking why there hard drive > is trashing and slowing down the system just after they boot to > Mandrake. There aren't many people who need to have their > non-linuxpartitions indexed, and the ones who do, will know how to > change this. > The script now runs many times faster on my machine with /mnt excluded, > now only indexing my reiserfs and jfs partitions. > > Frederik
Did you look into /etc/updatedb.conf ? I don't know if it has been changed in latest versions but I have : PRUNEPATHS="/proc,/tmp,/var/tmp,/usr/tmp,/net,/afs,/mnt" PRUNEFS="nfs,smbfs,ncpfs,proc,devpts,supermount,vfat,iso9660,udf,usbdevfs,devfs" This excludes /mnt...
