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

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



>> 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?
>> 
> 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

You could copy it over to /home and put a symlink to it in /var/lib. That
way it would be filling up you /var.

HTH,
j
-- 
http://www.bizmanuals.com