1995-03-26 01:35:28 +03:00
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# database: file(1) magic for various databases
|
|
|
|
#
|
|
|
|
# extracted from header/code files by Graeme Wilford (eep2gw@ee.surrey.ac.uk)
|
|
|
|
#
|
1995-10-28 02:33:14 +03:00
|
|
|
#
|
|
|
|
# GDBM magic numbers
|
|
|
|
# Will be maintained as part of the GDBM distribution in the future.
|
|
|
|
# <downsj@teeny.org>
|
|
|
|
0 belong 0x13579ace GNU dbm 1.x or ndbm database, big endian
|
|
|
|
0 lelong 0x13579ace GNU dbm 1.x or ndbm database, little endian
|
|
|
|
0 string GDBM GNU dbm 2.x database
|
1995-04-28 23:23:38 +04:00
|
|
|
#
|
2000-09-22 20:34:59 +04:00
|
|
|
# Berkeley DB
|
1996-10-06 00:20:24 +04:00
|
|
|
#
|
2000-09-22 20:34:59 +04:00
|
|
|
# Ian Darwin's file /etc/magic files: big/little-endian version.
|
1995-04-28 23:23:38 +04:00
|
|
|
#
|
2000-09-22 20:34:59 +04:00
|
|
|
# Hash 1.85/1.86 databases store metadata in network byte order.
|
|
|
|
# Btree 1.85/1.86 databases store the metadata in host byte order.
|
|
|
|
# Hash and Btree 2.X and later databases store the metadata in host byte order.
|
|
|
|
|
|
|
|
0 long 0x00061561 Berkeley DB
|
|
|
|
>8 belong 4321
|
|
|
|
>>4 belong >2 1.86
|
|
|
|
>>4 belong <3 1.85
|
|
|
|
>>4 belong >0 (Hash, version %d, native byte-order)
|
|
|
|
>8 belong 1234
|
|
|
|
>>4 belong >2 1.86
|
|
|
|
>>4 belong <3 1.85
|
|
|
|
>>4 belong >0 (Hash, version %d, little-endian)
|
|
|
|
|
|
|
|
0 belong 0x00061561 Berkeley DB
|
|
|
|
>8 belong 4321
|
|
|
|
>>4 belong >2 1.86
|
|
|
|
>>4 belong <3 1.85
|
|
|
|
>>4 belong >0 (Hash, version %d, big-endian)
|
|
|
|
>8 belong 1234
|
|
|
|
>>4 belong >2 1.86
|
|
|
|
>>4 belong <3 1.85
|
|
|
|
>>4 belong >0 (Hash, version %d, native byte-order)
|
|
|
|
|
|
|
|
0 long 0x00053162 Berkeley DB 1.85/1.86
|
|
|
|
>4 long >0 (Btree, version %d, native byte-order)
|
|
|
|
0 belong 0x00053162 Berkeley DB 1.85/1.86
|
|
|
|
>4 belong >0 (Btree, version %d, big-endian)
|
|
|
|
0 lelong 0x00053162 Berkeley DB 1.85/1.86
|
|
|
|
>4 lelong >0 (Btree, version %d, little-endian)
|
|
|
|
|
|
|
|
12 long 0x00061561 Berkeley DB
|
|
|
|
>16 long >0 (Hash, version %d, native byte-order)
|
|
|
|
12 belong 0x00061561 Berkeley DB
|
|
|
|
>16 belong >0 (Hash, version %d, big-endian)
|
|
|
|
12 lelong 0x00061561 Berkeley DB
|
|
|
|
>16 lelong >0 (Hash, version %d, little-endian)
|
|
|
|
|
|
|
|
12 long 0x00053162 Berkeley DB
|
|
|
|
>16 long >0 (Btree, version %d, native byte-order)
|
|
|
|
12 belong 0x00053162 Berkeley DB
|
|
|
|
>16 belong >0 (Btree, version %d, big-endian)
|
|
|
|
12 lelong 0x00053162 Berkeley DB
|
|
|
|
>16 lelong >0 (Btree, version %d, little-endian)
|
|
|
|
|
|
|
|
12 long 0x00042253 Berkeley DB
|
|
|
|
>16 long >0 (Queue, version %d, native byte-order)
|
|
|
|
12 belong 0x00042253 Berkeley DB
|
|
|
|
>16 belong >0 (Queue, version %d, big-endian)
|
|
|
|
12 lelong 0x00042253 Berkeley DB
|
|
|
|
>16 lelong >0 (Queue, version %d, little-endian)
|
2001-07-23 02:53:00 +04:00
|
|
|
#
|
|
|
|
#
|
|
|
|
# Round Robin Database Tool by Tobias Oetiker <oetiker@ee.ethz.ch>
|
|
|
|
0 string RRD RRDTool DB
|
|
|
|
>4 string x version %s
|