httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <>
Subject Re: dbmmanage overhaul
Date Tue, 22 Jul 1997 01:36:47 GMT
At 09:13 PM 7/21/97 -0400, you wrote:
>Brian Behlendorf <> wrote:
>> 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?
>I'm not sure of the best (portable) way.  I'll think about it and look
>into Marc's file(1) suggestion.

Mainly I want to make sure no one tries to use ndbm routines on an sdbm
database, etc.  Abstracting those differences would be real nice.


"Why not?" - TL  - -

View raw message