Mailing List Archive

[OT] slocate users, who are you?
Hi,

I'd like to narrow (or turn off at all) indexed disk space in upfatedb.conf.
Before doing so, I'd like to understand who are slocate users - I mean common
system programs rather me :-)

Andrew

--
gentoo-user@gentoo.org mailing list
Re: [OT] slocate users, who are you? [ In reply to ]
On Wed, 6 Oct 2004, Andrew Gaydenko wrote:

>
> Hi,
>
> I'd like to narrow (or turn off at all) indexed disk space in upfatedb.conf.
> Before doing so, I'd like to understand who are slocate users - I mean common
> system programs rather me :-)
>
> Andrew
>

Hi,

I use slocate quite usually. For example I wasn't able to remember where
was the world file (yes now I know), I run slocate world, and I get the
result quickly. Or where is Xserver and so on. It is a very worthy help
if you need it. Really annoying, that my desktop working hard at the
first two minutes of every morning, but when I narrowed the collection I
had to do a lot of find something searchs, which are very long.
Or another example at my work. We develop a huge program whith hundreds
of source-code files in lot of directory. When I search for a file
(these aren't in $PATH, so which is out of scope) the find command takes
a lot of time.
Your user want to use it perhaps.
If you want, you can set the updates's frequency. By default it is in
cron.daily, but you can move it to cron.weekly, if it suits your need.
You can narrow searching anyway. Directories which change significantly
in a day (and the one-day old informations are unworthy) are
unnecessary. Directories which are in the $PATH of every user, also
unnecessary, 'cause the shell will handle these files and you can find
these with which.

HTH.
Cheers,
Tamas Sarga
--
A day is 24 hours long. Egy nap 24 órából áll.
A box of beer contains 24 bottles. Egy tálcán 24 üveg sör van.
I don't believe in coincidence. Nem hiszek a véletlenekben.

--
gentoo-user@gentoo.org mailing list