summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/database
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /usr.bin/file/magdir/database
initial import of NetBSD tree
Diffstat (limited to 'usr.bin/file/magdir/database')
-rw-r--r--usr.bin/file/magdir/database30
1 files changed, 30 insertions, 0 deletions
diff --git a/usr.bin/file/magdir/database b/usr.bin/file/magdir/database
new file mode 100644
index 00000000000..9b59cc7b209
--- /dev/null
+++ b/usr.bin/file/magdir/database
@@ -0,0 +1,30 @@
+
+#------------------------------------------------------------------------------
+# database: file(1) magic for various databases
+#
+# extracted from header/code files by Graeme Wilford (eep2gw@ee.surrey.ac.uk)
+#
+0 long 0x13579ace GNU gdbm or ndbm database
+#
+0 belong 0x061561 Berkeley DB Hash file
+>4 belong >0 (Version %d,
+>8 belong 1234 Little Endian,
+>8 belong 4321 Big Endian,
+>12 belong x Bucket Size %d,
+>16 belong x Directory Size %d,
+>20 belong x Segment Size %d,
+>24 belong x Segment Shift %d,
+>28 belong x Overflow Point %d,
+>32 belong x Last Freed %d,
+>36 belong x Max Bucket %d,
+>40 belong x High Mask 0x%x,
+>44 belong x Low Mask 0x%x,
+>48 belong x Fill Factor %d,
+>52 belong x Number of Keys %d)
+#
+0 belong 0x053162 Berkeley DB Btree file
+>4 belong >0 (Version %d,
+>8 belong x Page Size %d,
+>12 belong x Free Page %d,
+>16 belong x Number of Records %d,
+>20 belong x Flags 0x%x)