Upgrade to file-4.18.
[dragonfly.git] / contrib / file-4 / magic / Magdir / dump
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 #
7 24      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
26 24      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
45 24      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
64 24      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