[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RAQ1 question about a file



On Wed, Feb 06, 2002 at 03:54:34PM +0100, PowerClicks wrote:
> Hello,
> 
> I would like to know what is the file named "locatedb" within in the
> /var/lib directory? It is getting HUGE, can I simply delete it?
> 

Hello,

If you want you can delete it, however you won't have locate-functionality
anymore, unless you recreate the database (for example with `updatedb').
The db contains information about where files are on your system,
for example when you're looking for a file named bar, you could type
in `locate bar' and it tells you where to find it in the form of:

/foo/bar
/here/there/is/also/something/that/matched/your/locate/on/.abar

I think it's quite easy to use, however, you can delete it and consider
using which, find, where.

** Do not do the following !! **
Or delete everything on the cobalt and run updatedb, believe me, that
file gets little then :))

Regards, Jan.