httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <>
Subject Re: dbmmanage overhaul
Date Mon, 21 Jul 1997 23:44:53 GMT
On Mon, 21 Jul 1997, Brian Behlendorf wrote:

> Well I personally liked that fact the old one was still perl 4 compatible,
> but maybe I'm the only one still in the dark ages with /usr/local/bin/perl
> = perl4.  At any rate I won't protest it.
> Since there are now a myriad of dbm file formats, is there any way to
> distinguish between them when presented with a file of unknown dbm type?
> I.e. if I have a file called passwd.db, how can I tell whether it's ndbm,
> gdbm, sdbm, etc?  Could we have that be an option in the dbmmanage program?

file(1) works.  <g>  

pagetabl.db: Berkeley DB Hash file (Version 2, Little Endian, Bucket Size
4096, Directory Size 12, Segment Size 256, Segment Shift 256, Overflow Point 8, Last Freed
3, Max Bucket 2, High Mask 0x6, Low Mask 0x7, Fill Factor 3, Number of Keys 40)

View raw message