Afficher un message
Vieux 02/04/2007, 01h00   #3
s. keeling
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Accessing berkely database files

Micha Feigin <michf@post.tau.ac.il>:
> Is there any program available for linux (preferably packaged for
> debian), that would allow me to examine the contents of berkely
> database files? (I think that they are version 3)


Version 3?!? Perhaps I'm comparing apples and oranges (BDB vs. Btree?)[0],
but bogofilter here uses BDB "Btree, version 8", which
sounds to me like you're researching ancient history. However, bf
also supplies bogoutil, which can dump (export) its BDB. bogoutil is:

ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.2.0, dynamically linked (uses shared libs), stripped

so perhaps you can learn its secrets from the code. I see there's
also libberkeleydb-perl if you're perl friendly.

This is on Sarge.


[0] Ah, sorry, digging a bit deeper (/usr/share/doc/bogofilter/README.db)
mentions:

Sleepycat Software: Berkeley DB 3.1.17: (July 31, 2000)
Sleepycat Software: Berkeley DB 3.2.9: (January 24, 2001)
Sleepycat Software: Berkeley DB 3.3.11: (July 12, 2001)
Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Sleepycat Software: Berkeley DB 4.3.27: (December 22, 2004)

so perhaps not quite as ancient as I thought.


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
Spammers! http://www.spots.ab.ca/~keeling/emails.html


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
 
Page generated in 0,07297 seconds with 9 queries