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