public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexander Skwar <listen@alexander.skwar.name>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Dumping COMPLETE slocate (updatedb) database?
Date: Sun, 10 Jul 2005 07:07:08 +0200	[thread overview]
Message-ID: <42D0ACFC.3010907@mid.alexander.skwar.name> (raw)

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
-- 
>From 0 to "what seems to be the problem officer" in 8.3 seconds.
		-- Ad for the new VW Corrado
-- 
gentoo-user@gentoo.org mailing list



             reply	other threads:[~2005-07-10  5:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-10  5:07 Alexander Skwar [this message]
2005-07-10  6:32 ` [gentoo-user] Dumping COMPLETE slocate (updatedb) database? Alexander Skwar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42D0ACFC.3010907@mid.alexander.skwar.name \
    --to=listen@alexander.skwar.name \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox