Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsrelay.netins.net!newsfeed.dacom.co.kr!arclight.uoregon.edu!nntp.primenet.com!news.primenet.com!bkogawa From: bkogawa@primenet.com (Bryan Ogawa) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: locate command Date: 25 Sep 1996 11:15:04 -0700 Organization: Primenet Services for the Internet Lines: 24 Message-ID: <52bsr8$mkc@nnrp1.news.primenet.com> References: <52b1p9$hoe@rzsun02.rrz.uni-hamburg.de> X-Posted-By: bkogawa@206.165.5.101 (bkogawa) 1hohens@rzcspc1.informatik.uni-hamburg.de (Frank Hohenschuh) writes: >Hi, >how should the "locate" command be used under FreeBSD? >The man-page mentions a process, which updates a file. >I found the file (I forgot its name and can't look it up >right now), only it's 0 bytes long. >Under Linux, there is an "updatedb" command to create >this file. Under FreeBSD, I would like this process >to start on bootup. The program is /usr/libexec/locate.updatedb , and it's usually invoked by /etc/weekly (on Sat. morning at 3:30 AM). If you want to see how it runs it, look at /etc/weekly. You could probably put that into /etc/rc.local, with a few modifications. >Thanks, >Frank. -- bryan k. ogawa <bkogawa@primenet.com> <bkogawa@netvoyage.net>