aboutsummaryrefslogtreecommitdiff
path: root/src/gdbm.magic
blob: 7d279d591a9a93b4c28f646ee3353948a99b6c25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# A "magic" file for file(1).
# Copyright (C) 2016-2023 Free Software Foundation, Inc.
#
# GDBM is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GDBM is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GDBM. If not, see <http://www.gnu.org/licenses/>. 

0	lelong	0x13579acf	GNU DBM 64-bit, little endian
!:mime	application/x-gdbm
>4	lelong	x		\b; block size=%d
>8	lequad	x		\b; dir offset=%lld
>16	lelong	x		\b, size=%d
>20	lelong	x		\b, bits=%d
>24	lelong	x		\b; bucket size=%d
>28	lelong	x		\b, elts=%d

0	belong	0x13579acf	GNU DBM 64-bit, big endian
!:mime	application/x-gdbm
>4	belong	x		\b; block size=%d
>8	bequad	x		\b; dir offset=%lld
>16	belong	x		\b, size=%d
>20	belong	x		\b, bits=%d
>24	belong	x		\b; bucket size=%d
>28	belong	x		\b, elts=%d

0	lelong	0x13579acd	GNU DBM 32-bit, little endian
!:mime	application/x-gdbm

0	belong	0x13579acd	GNU DBM 32-bit, big endian
!:mime	application/x-gdbm

0	lelong	0x13579ace	GNU DBM old format, little endian
!:mime	application/x-gdbm

0	belong	0x13579ace	GNU DBM old format, big endian
!:mime	application/x-gdbm

0	string	\!\r\n
>3	string	\!\040GDBM\040FLAT\040FILE\040DUMP\040--\040THIS\040IS\040NOT\040A\040TEXT\040FILE\r\n	GDBM flat dump file
!:mime	application/octet-stream
>53	string	!\040GDBM\040version\040
>>&0	regex	([0-9]+\.){1,}	\b, created by GDBM version %s

0	string	#\040GDBM\040dump\040file	GDBM ASCII dump file
!:mime	text/x-gdbm-dump
>0	search	#:version=
>>&0	string	>\0		\b, version %s
>0	search	#:file=
>>&0	string	>\0		\b, for file %s
>0	string	#\040GDBM\040dump\040file\040created\040by\040GDBM\040version\040
>>&0	regex	([0-9.]+)\.		\b, created by GDBM version %s

0	lelong	0x13579ad1	GNU DBM extended 64-bit, little endian
!:mime	application/x-gdbm
>4	lelong	x		\b; block size=%d
>8	lequad	x		\b; dir offset=%lld
>16	lelong	x		\b, size=%d
>20	lelong	x		\b, bits=%d
>24	lelong	x		\b; bucket size=%d
>28	lelong	x		\b, elts=%d
>40     lelong  x               \b, version=%d
>44     lelong  x               \b, numsync=%u

0	belong	0x13579ad1	GNU DBM extended 64-bit, big endian
!:mime	application/x-gdbm
>4	belong	x		\b; block size=%d
>8	bequad	x		\b; dir offset=%lld
>16	belong	x		\b, size=%d
>20	belong	x		\b, bits=%d
>24	belong	x		\b; bucket size=%d
>28	belong	x		\b, elts=%d
>40     belong  x               \b, version=%d
>44     belong  x               \b, numsync=%u

0	lelong	0x13579ad0	GNU DBM extended 32-bit, little endian
!:mime	application/x-gdbm

0	belong	0x13579ad0	GNU DBM extended 32-bit, big endian
!:mime	application/x-gdbm

Return to:

Send suggestions and report system problems to the System administrator.