Subject: Re: B20: updatedb script references nonexistent utility, frcode.
From: [email-masked] (Michael Hirmke)

10 Jan 1999 04:21:56 -0800
Message-ID: <[email-masked]>
References: <61AC5C9A4B9CD11181A200805F57CD54058DD78E@RED-MSG-44>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: [email-masked]

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:[email-masked]
                         | WWW     http://aquarius.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".