summaryrefslogtreecommitdiffabout
path: root/src/gdbm.magic
blob: 007320ab7690ae4ee8f8a3f346df5a5b540228bd (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
# A "magic" file for file(1).
# Copyright (C) 2016-2019 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/octet-stream
>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/octet-stream
>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/octet-stream

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

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

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

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

Return to:

Send suggestions and report system problems to the System administrator.