Mail Archives: cygwin/1999/01/10/04:21:56
Hi Eric,
>I'm running Beta 20.1 under NT 4/sp3.
>
>Updatedb references the utility frcode when building the locate database.
>This utility does not appear to be part of the Binary distribution of B20.1.
>
frcode can be found in the libexec dir:
<root>/cygwin-b20/H-i586-cygwin32/libexec
Below is a start script for updatedb, which works perfectly here:
------------------------< snip snip snip >-----------------------------
#!/bin/sh
exec 2>/var/log/doupdatedb.log
set -x
# CYGNUS main directory
: ${CYGROOT="//c/usr/cygwin-b20/H-i586-cygwin32"}
# Non-network directories to put in the database.
: ${SEARCHPATHS="//c //d //e"}
export SEARCHPATHS
# Network (NFS, AFS, RFS, etc.) directories to put in the database.
: ${NETPATHS=}
export NETPATHS
# Directories to not put in the database, which would otherwise be.
: ${PRUNEPATHS="//c/tmp //c/temp //e/tmp //e/temp //d/var/log //d/var/run //e/var/log //e/var/run"}
export PRUNEPATHS
# The database file to build.
: ${LOCATE_PATH=/var/lib/locatedb}
: ${LOCATE_DB=$LOCATE_PATH}
export LOCATE_DB
# The user to search network directories as.
: ${NETUSER=}
export NETUSER
# The directory containing the subprograms.
: ${LIBEXECDIR=$CYGROOT/libexec}
export LIBEXECDIR
# Path
PATH="$LIBEXECDIR:$BINDIR:$PATH"
export PATH
# GO !
updatedb &
------------------------< snip snip snip >-----------------------------
Bye.
Michael.
--
Michael Hirmke | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX +49 (911) 557664
90489 Nuernberg | E-Mail mailto:mh AT mike DOT franken DOT de
| WWW http://aquarius.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -