xref: /dragonfly/contrib/file/magic/Magdir/dump (revision 9ddb8543)
1
2#------------------------------------------------------------------------------
3# dump:  file(1) magic for dump file format--for new and old dump filesystems
4#
5# We specify both byte orders in order to recognize byte-swapped dumps.
6#
724	belong	60012		new-fs dump file (big endian),
8>4	bedate	x		Previous dump %s,
9>8	bedate	x		This dump %s,
10>12	belong	>0		Volume %ld,
11>692	belong	0		Level zero, type:
12>692	belong	>0		Level %d, type:
13>0	belong	1		tape header,
14>0	belong	2		beginning of file record,
15>0	belong	3		map of inodes on tape,
16>0	belong	4		continuation of file record,
17>0	belong	5		end of volume,
18>0	belong	6		map of inodes deleted,
19>0	belong	7		end of medium (for floppy),
20>676	string	>\0		Label %s,
21>696	string	>\0		Filesystem %s,
22>760	string	>\0		Device %s,
23>824	string	>\0		Host %s,
24>888	belong	>0		Flags %x
25
2624	belong	60011		old-fs dump file (big endian),
27#>4	bedate	x		Previous dump %s,
28#>8	bedate	x		This dump %s,
29>12	belong	>0		Volume %ld,
30>692	belong	0		Level zero, type:
31>692	belong	>0		Level %d, type:
32>0	belong	1		tape header,
33>0	belong	2		beginning of file record,
34>0	belong	3		map of inodes on tape,
35>0	belong	4		continuation of file record,
36>0	belong	5		end of volume,
37>0	belong	6		map of inodes deleted,
38>0	belong	7		end of medium (for floppy),
39>676	string	>\0		Label %s,
40>696	string	>\0		Filesystem %s,
41>760	string	>\0		Device %s,
42>824	string	>\0		Host %s,
43>888	belong	>0		Flags %x
44
4524	lelong	60012		new-fs dump file (little endian),
46>4	ledate	x		This dump %s,
47>8	ledate	x		Previous dump %s,
48>12	lelong	>0		Volume %ld,
49>692	lelong	0		Level zero, type:
50>692	lelong	>0		Level %d, type:
51>0	lelong	1		tape header,
52>0	lelong	2		beginning of file record,
53>0	lelong	3		map of inodes on tape,
54>0	lelong	4		continuation of file record,
55>0	lelong	5		end of volume,
56>0	lelong	6		map of inodes deleted,
57>0	lelong	7		end of medium (for floppy),
58>676	string	>\0		Label %s,
59>696	string	>\0		Filesystem %s,
60>760	string	>\0		Device %s,
61>824	string	>\0		Host %s,
62>888	lelong	>0		Flags %x
63
6424	lelong	60011		old-fs dump file (little endian),
65#>4	ledate	x		Previous dump %s,
66#>8	ledate	x		This dump %s,
67>12	lelong	>0		Volume %ld,
68>692	lelong	0		Level zero, type:
69>692	lelong	>0		Level %d, type:
70>0	lelong	1		tape header,
71>0	lelong	2		beginning of file record,
72>0	lelong	3		map of inodes on tape,
73>0	lelong	4		continuation of file record,
74>0	lelong	5		end of volume,
75>0	lelong	6		map of inodes deleted,
76>0	lelong	7		end of medium (for floppy),
77>676	string	>\0		Label %s,
78>696	string	>\0		Filesystem %s,
79>760	string	>\0		Device %s,
80>824	string	>\0		Host %s,
81>888	lelong	>0		Flags %x
82
8318	leshort	60011		old-fs dump file (16-bit, assuming PDP-11 endianness),
84>2	medate	x		Previous dump %s,
85>6	medate	x		This dump %s,
86>10	leshort	>0		Volume %ld,
87>0	leshort	1		tape header.
88>0	leshort	2		beginning of file record.
89>0	leshort	3		map of inodes on tape.
90>0	leshort	4		continuation of file record.
91>0	leshort	5		end of volume.
92>0	leshort	6		map of inodes deleted.
93>0	leshort	7		end of medium (for floppy).
94
9524	belong	0x19540119	new-fs dump file (ufs2, big endian),
96>896	beqdate	x		Previous dump %s,
97>904	beqdate	x		This dump %s,
98>12	belong	>0		Volume %ld,
99>692	belong	0		Level zero, type:
100>692	belong	>0		Level %d, type:
101>0	belong	1		tape header,
102>0	belong	2		beginning of file record,
103>0	belong	3		map of inodes on tape,
104>0	belong	4		continuation of file record,
105>0	belong	5		end of volume,
106>0	belong	6		map of inodes deleted,
107>0	belong	7		end of medium (for floppy),
108>676	string	>\0		Label %s,
109>696	string	>\0		Filesystem %s,
110>760	string	>\0		Device %s,
111>824	string	>\0		Host %s,
112>888	belong	>0		Flags %x
113
11424	lelong	0x19540119	new-fs dump file (ufs2, little endian),
115>896	leqdate	x		This dump %s,
116>904	leqdate	x		Previous dump %s,
117>12	lelong	>0		Volume %ld,
118>692	lelong	0		Level zero, type:
119>692	lelong	>0		Level %d, type:
120>0	lelong	1		tape header,
121>0	lelong	2		beginning of file record,
122>0	lelong	3		map of inodes on tape,
123>0	lelong	4		continuation of file record,
124>0	lelong	5		end of volume,
125>0	lelong	6		map of inodes deleted,
126>0	lelong	7		end of medium (for floppy),
127>676	string	>\0		Label %s,
128>696	string	>\0		Filesystem %s,
129>760	string	>\0		Device %s,
130>824	string	>\0		Host %s,
131>888	lelong	>0		Flags %x
132