]> git.saurik.com Git - apple/file_cmds.git/blame - file/magdir/database
file_cmds-60.tar.gz
[apple/file_cmds.git] / file / magdir / database
CommitLineData
440bd198
A
1
2#------------------------------------------------------------------------------
3# database: file(1) magic for various databases
4#
5# extracted from header/code files by Graeme Wilford (eep2gw@ee.surrey.ac.uk)
6#
7#
8# GDBM magic numbers
9# Will be maintained as part of the GDBM distribution in the future.
10# <downsj@teeny.org>
110 belong 0x13579ace GNU dbm 1.x or ndbm database, big endian
120 lelong 0x13579ace GNU dbm 1.x or ndbm database, little endian
130 string GDBM GNU dbm 2.x database
14#
150 belong 0x061561 Berkeley DB Hash file
16>4 belong >0 (Version %d,
17>8 belong 1234 Little Endian,
18>8 belong 4321 Big Endian,
19>12 belong x Bucket Size %d,
20>16 belong x Bucket Shift %d,
21>20 belong x Directory Size %d,
22>24 belong x Segment Size %d,
23>28 belong x Segment Shift %d,
24>32 belong x Overflow Point %d,
25>36 belong x Last Freed %d,
26>40 belong x Max Bucket %d,
27>44 belong x High Mask 0x%x,
28>48 belong x Low Mask 0x%x,
29>52 belong x Fill Factor %d,
30>56 belong x Number of Keys %d)
31#
32#
330 belong 0x053162 Berkeley DB Btree file
34>4 belong >0 (Version %d,
35>8 belong x Page Size %d,
36>12 belong x Free Page %d,
37>16 belong x Number of Records %d,
38>20 belong x Flags 0x%x)