To | Debian CZ/SK project discussion list <czdebian-l zavinac debian bod cz> |
From | "Anti.Trust" <antitrust zavinac centrum bod sk> |
Date | Tue, 06 Apr 2004 15:04:29 +0200 |
User-agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 |
Anti.Trust wrote:
Ahoj. Velmi casto pouzivam namiesto find locate|grep. Zvacsami uplne postacuju a nahradia find + su rychlejsie, najma na PIO3 HDD na FW.Problem je v tom, ze v crontab mam: 0 5 *** root updatedb IMO je to OK a malo by to OK fungovat, ale zadam locate jetotu a nic. Dam updatedb, pockam 5-10 minut. locate jetotu a 5-15 vysledkov.
doplnam updatedb.conf # This file sets environment variables which are used by updatedb # filesystems which are pruned from updatedb database#PRUNEFS="NFS nfs afs proc smbfs autofs auto iso9660 ncpfs coda devpts ftpfs"
PRUNEFS="NFS nfs afs proc smbfs iso9660 ncpfs coda devpts ftpfs" export PRUNEFS # paths which are pruned from updatedb database PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool" export PRUNEPATHS # netpaths which are added NETPATHS="" export NETPATHS nestastny AT :|