SCIENTIFIC-LINUX-USERS Archives

August 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Thu, 18 Aug 2005 08:51:58 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (40 lines)
Ioannis Vranos wrote:
> The first time I tried a file search under GNOME/SL 4, it mentioned that 
> updatedb had not been run previously.
> 
> What file should I edit to make updatedb running during boot? It isn't 
> in Services.

Hi,
I've seen the whole thread and it seems that everyone has missed what is 
already there.  (It's in the release notes and on the web page.)
https://www.scientificlinux.org/distributions/4x/features/tweaks
There is a program called

SL_enable_slocate_cron

That turns on the updatedb (actually, it makes slocate work, which does 
the updatedb updating).  So all you need to do is

   yum install SL_enable_slocate_cron

and then slocate (which runs updatedb) will run.  If you uninstall it, 
it put's it back the way it started.

Troy Dawson

p.s. By way of argument as to why RedHat did things that way, it was 
already discussed  in these e-mails, in that it saves the machine doing 
those checks on potentially big file systems.
But what really irks me is that they turned off the 'locate' command, 
which I use all the time, but left on the makewhatit, which enables the 
'man -k' command, which I use rarely.   makewhatis still uses alot of 
CPU and disk power, especially when it runs on my laptop.  I would have 
liked to have seen something similar with that.

-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/CSS  CSI Group
__________________________________________________

ATOM RSS1 RSS2