This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: locatedb: No such file



Unfortunately it appears to me that cygwin does not come with the cron
deamon which is what usually updates the database overnight. On Red Hat
systems this is done by executing the script /etc/cron.daily/slocate.cron
which used to be called /etc/cron.dailt/updatedb.cron on older
distributions. All the script does is the following:


#!/bin/sh

/usr/bin/slocate -u -f "nfs,smbfs,ncpfs,proc,devpts" -e
"/tmp,/var/tmp,/usr/tmp,/afs,/net"

So perhaps we don't need cron but running it manually can be time
consuming.

Regards,

Neil


On Mon, 30 Oct 2000, Dennis W. Bulgrien wrote:

> Though I left cygwin prompt open all night, locate fails.  Is it supposed to work?
> 
> $ locate dsp.bat
> locate: /usr/var/locatedb: No such file or directory
> -- 
> Dennis W. Bulgrien, Engineer            Mailto:dbulgrien@vcsd.com
> VertexRSI, Controls and Structures      http://www.vcsd.com
> 1915 Harrison Road                      tel: 903 295 1480 x287
> Longview, TX  75604-5438                fax: 903 295 1479
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
> 


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]