This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: locatedb: No such file
- To: cygwin at sources dot redhat dot com
- Subject: Re: locatedb: No such file
- From: "Dennis W. Bulgrien" <dbulgrien at vcsd dot com>
- Date: Mon, 30 Oct 2000 14:22:20 -0600
- Organization: Vertex Control Systems Division
- References: <39FDA331.F26536AC@vcsd.com>
- Reply-To: dbulgrien at vcsd dot com
Thanks for all your sympathy. Special thanks to Kim-- her following tips did the trick.
mkdir /usr/var
Create the database of file names. The script does not come with cygwin. Edit for your path, etc.
You may need to do specify a "usual" database named locatedb. Otherwise the script just creates a database named @LOCATE_DB@ and may not put it in the directory you want it in! something like:
sh bin/updatedb.sh --output=/usr/var/locatedb
shazam.
--
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
"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
updatedb.sh
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com