Dumping COMPLETE slocate (updatedb) database?

From: Alexander Skwar (alexander_at_skwar.name)
Date: 07/10/05

  • Next message: Alexander Skwar: "Re: Dumping COMPLETE slocate (updatedb) database?"
    Date: Sun, 10 Jul 2005 07:07:11 +0200
    
    

    Hello.

    Because I've lost some filesystems recently, I'd like to find out,
    what I've *exactly* lost. To do that, I'd like to read and *print*
    (on screen) the /complete/ slocate/updatedb database from
    /var/lib/slocate/slocate.db.

    But when I "locate" something, the result is only printed if the
    file actually right now exists.

    Is there some way to dump the slocate.db? Or to modify the
    "locate" binary, so that this check is not done?

    [06:55:09 alexander@server:~] $ locate --version
    Secure Locate 2.7 - Released January 24, 2003
    [06:56:49 alexander@server:~] $ epm -qf `which locate`
    slocate-2.7-r8
    [06:57:04 alexander@server:~] $ uname -a
    Linux server 2.6.12-ck3.009.reiser4_rc5-mm2.no-nfsv4.genkernel #1 Sat Jul 9 13:01:17 CEST 2005 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux

    Thanks,

    Alexander Skwar

    -- 
    FORCE YOURSELF TO RELAX!
    

  • Next message: Alexander Skwar: "Re: Dumping COMPLETE slocate (updatedb) database?"

    Relevant Pages