On Wed, 25 Jul 2007, Rene Herman wrote:
On 07/25/2007 07:12 AM, [email protected] wrote:
On Wed, 25 Jul 2007, Rene Herman wrote:
> It certainly doesn't run for me ever. Always kind of a "that's not the
> point" comment but I just keep wondering whenever I see anyone complain
> about updatedb why the _hell_ they are running it in the first place. If
> anyone who never uses "locate" for anything simply disable updatedb, the
> problem will for a large part be solved.
>
> This not just meant as a cheap comment; while I can think of a few
> similar loads even on the desktop (scanning a browser cache, a media
> player indexing a large amount of media files, ...) I've never heard of
> problems _other_ than updatedb. So just junk that crap and be happy.
but if you do use locate then the alturnative becomes sitting around and
waiting for find to complete on a regular basis.
Yes, but what's locate's usage scenario? I've never, ever wanted to use it.
When do you know the name of something but not where it's located, other than
situations which "which" wouldn't cover and after just having
installed/unpacked something meaning locate doesn't know about it yet either?
which only finds executables that are in the path.
I commonly use locate to find config files (or sample config files) for
packages that were installed at some point in the past with fairly default
configs and now I want to go and tweak them. so I start reading
documentation and then need to find out where $disto moved the files to
this release (I commonly am working on machines with over a half dozen
different distro releases, and none of them RedHat)
David Lang
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]