[arch-general] findutils and locate

P .NIKOLIC p.nikolic1 at btinternet.com
Sun Apr 15 18:10:19 EDT 2012


On Sun, 15 Apr 2012 23:49:45 +0200
Martti Kühne <mysatyre at gmail.com> wrote:

> On Sun, Apr 15, 2012 at 05:51:36PM +0100, P .NIKOLIC wrote:
> > Hi ..
> > 
> > Yes it is there  ..
> > 
> > -rw-r-----  1 root locate 7868436 Apr 15 13:48 mlocate.db 
> > 
> > Doing a strings on the file  it contains the expected data but  i
> > still get no files show up when i try locate filename  even if the
> > file is listed in the db  and it Actually exists on the drive and
> > is good 
> > 
> 
> is the data up to date after updatedb?
> 
> Actually, no it's not.
> 
> the header of mlocate.db is tested on configuration changes,
> described in [1]. Likely, configuration has changed with a recent
> update, so your problem would possibly have been fixed right after
> you looked into "man mlocate.db"
> 
> I am just confused to find you never having had this problem
> before...?
> 
> cheers!
> mar77i
> 
> [1] http://linux.die.net/man/5/mlocate.db

Hi  .

It has been flakey for a while  but now  it just does not do anything
i have no reports of errors anywhere just  displays nothing

something failing on my guess would be a changed permission somewhere
althou i dont mess around with permissions outside of my user area .

Pete ..


-- 
Linux 7-of-9 3.3.1-1-ARCH #1 SMP PREEMPT Tue Apr 3 06:46:17 UTC 2012
x86_64 AMD Phenom(tm) 9600B Quad-Core Processor AuthenticAMD GNU/Linux


More information about the arch-general mailing list