xref: /minix3/external/bsd/file/dist/magic/magdir/dump (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1ef01931fSBen Gras
2ef01931fSBen Gras#------------------------------------------------------------------------------
3*0a6a1f1dSLionel Sambuc# $File: dump,v 1.13 2014/04/30 21:41:02 christos Exp $
4ef01931fSBen Gras# dump:  file(1) magic for dump file format--for new and old dump filesystems
5ef01931fSBen Gras#
6ef01931fSBen Gras# We specify both byte orders in order to recognize byte-swapped dumps.
7ef01931fSBen Gras#
884d9c625SLionel Sambuc0	name	new-dump-be
9ef01931fSBen Gras>4	bedate	x		Previous dump %s,
10ef01931fSBen Gras>8	bedate	x		This dump %s,
11*0a6a1f1dSLionel Sambuc>12	belong	>0		Volume %d,
12ef01931fSBen Gras>692	belong	0		Level zero, type:
13ef01931fSBen Gras>692	belong	>0		Level %d, type:
14ef01931fSBen Gras>0	belong	1		tape header,
15ef01931fSBen Gras>0	belong	2		beginning of file record,
16ef01931fSBen Gras>0	belong	3		map of inodes on tape,
17ef01931fSBen Gras>0	belong	4		continuation of file record,
18ef01931fSBen Gras>0	belong	5		end of volume,
19ef01931fSBen Gras>0	belong	6		map of inodes deleted,
20ef01931fSBen Gras>0	belong	7		end of medium (for floppy),
21ef01931fSBen Gras>676	string	>\0		Label %s,
22ef01931fSBen Gras>696	string	>\0		Filesystem %s,
23ef01931fSBen Gras>760	string	>\0		Device %s,
24ef01931fSBen Gras>824	string	>\0		Host %s,
25ef01931fSBen Gras>888	belong	>0		Flags %x
26ef01931fSBen Gras
2784d9c625SLionel Sambuc0	name	old-dump-be
28ef01931fSBen Gras#>4	bedate	x		Previous dump %s,
29ef01931fSBen Gras#>8	bedate	x		This dump %s,
30*0a6a1f1dSLionel Sambuc>12	belong	>0		Volume %d,
31ef01931fSBen Gras>692	belong	0		Level zero, type:
32ef01931fSBen Gras>692	belong	>0		Level %d, type:
33ef01931fSBen Gras>0	belong	1		tape header,
34ef01931fSBen Gras>0	belong	2		beginning of file record,
35ef01931fSBen Gras>0	belong	3		map of inodes on tape,
36ef01931fSBen Gras>0	belong	4		continuation of file record,
37ef01931fSBen Gras>0	belong	5		end of volume,
38ef01931fSBen Gras>0	belong	6		map of inodes deleted,
39ef01931fSBen Gras>0	belong	7		end of medium (for floppy),
40ef01931fSBen Gras>676	string	>\0		Label %s,
41ef01931fSBen Gras>696	string	>\0		Filesystem %s,
42ef01931fSBen Gras>760	string	>\0		Device %s,
43ef01931fSBen Gras>824	string	>\0		Host %s,
44ef01931fSBen Gras>888	belong	>0		Flags %x
45ef01931fSBen Gras
4684d9c625SLionel Sambuc0	name	ufs2-dump-be
47ef01931fSBen Gras>896	beqdate	x		Previous dump %s,
48ef01931fSBen Gras>904	beqdate	x		This dump %s,
49*0a6a1f1dSLionel Sambuc>12	belong	>0		Volume %d,
50ef01931fSBen Gras>692	belong	0		Level zero, type:
51ef01931fSBen Gras>692	belong	>0		Level %d, type:
52ef01931fSBen Gras>0	belong	1		tape header,
53ef01931fSBen Gras>0	belong	2		beginning of file record,
54ef01931fSBen Gras>0	belong	3		map of inodes on tape,
55ef01931fSBen Gras>0	belong	4		continuation of file record,
56ef01931fSBen Gras>0	belong	5		end of volume,
57ef01931fSBen Gras>0	belong	6		map of inodes deleted,
58ef01931fSBen Gras>0	belong	7		end of medium (for floppy),
59ef01931fSBen Gras>676	string	>\0		Label %s,
60ef01931fSBen Gras>696	string	>\0		Filesystem %s,
61ef01931fSBen Gras>760	string	>\0		Device %s,
62ef01931fSBen Gras>824	string	>\0		Host %s,
63ef01931fSBen Gras>888	belong	>0		Flags %x
64ef01931fSBen Gras
6584d9c625SLionel Sambuc24	belong	60012		new-fs dump file (big endian),
6684d9c625SLionel Sambuc>0	use	new-dump-be
6784d9c625SLionel Sambuc
6884d9c625SLionel Sambuc24	belong	60011		old-fs dump file (big endian),
6984d9c625SLionel Sambuc>0	use	old-dump-be
7084d9c625SLionel Sambuc
7184d9c625SLionel Sambuc24	lelong	60012		new-fs dump file (little endian),
7284d9c625SLionel Sambuc>0	use	\^new-dump-be
7384d9c625SLionel Sambuc
7484d9c625SLionel Sambuc24	lelong	60011		old-fs dump file (little endian),
7584d9c625SLionel Sambuc>0	use	\^old-dump-be
7684d9c625SLionel Sambuc
7784d9c625SLionel Sambuc
7884d9c625SLionel Sambuc24	belong	0x19540119	new-fs dump file (ufs2, big endian),
7984d9c625SLionel Sambuc>0	use	ufs2-dump-be
8084d9c625SLionel Sambuc
81ef01931fSBen Gras24	lelong	0x19540119	new-fs dump file (ufs2, little endian),
8284d9c625SLionel Sambuc>0	use	\^ufs2-dump-be
8384d9c625SLionel Sambuc
8484d9c625SLionel Sambuc18	leshort	60011		old-fs dump file (16-bit, assuming PDP-11 endianness),
8584d9c625SLionel Sambuc>2	medate	x		Previous dump %s,
8684d9c625SLionel Sambuc>6	medate	x		This dump %s,
87*0a6a1f1dSLionel Sambuc>10	leshort	>0		Volume %d,
8884d9c625SLionel Sambuc>0	leshort	1		tape header.
8984d9c625SLionel Sambuc>0	leshort	2		beginning of file record.
9084d9c625SLionel Sambuc>0	leshort	3		map of inodes on tape.
9184d9c625SLionel Sambuc>0	leshort	4		continuation of file record.
9284d9c625SLionel Sambuc>0	leshort	5		end of volume.
9384d9c625SLionel Sambuc>0	leshort	6		map of inodes deleted.
9484d9c625SLionel Sambuc>0	leshort	7		end of medium (for floppy).
95