2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
13 Institution: The Information Technology Center, Carnegie-Mellon University
19 #define DUMPENDMAGIC 0x3A214B6E
20 #define DUMPBEGINMAGIC 0xB3A11322
22 #define D_DUMPHEADER 1
23 #define D_VOLUMEHEADER 2
29 #define MAXDUMPTIMES 50
32 Each {from,to} pair of time values gives a span of time covered by this dump.
33 Merged dumps may have multiple pairs if there are dumps missing from the merge */
38 char volumeName
[VNAMESIZE
];
39 int nDumpTimes
; /* Number of pairs */
42 } dumpTimes
[MAXDUMPTIMES
];
46 /* Some handshaking constants for volume move */
52 #define SHAKE_ABORT "!"
55 * - <length>: variable size length, 0x80=unknown (means that
56 * this section must be parsed to proceed)
57 * - If bit 7 is not set, bits 0-6 are the length
58 * - If bit 7 is set, bits 0-6 tell you how many bytes long the
59 * length is. The length follows immediately in MSB-first order.
60 * - The special value 0x80 means indefinite length.
61 * - 0xfe and 0xff would indicate a single-bit value, with the
62 * value stored in the low-order bit of the length.
64 * List of known tags in the dump header section (section 0)
66 * val hex what standard
68 * 2 0x02 D_VOLUMEHEADER
71 * 't' 0x74 fromtime, V_backupDate
72 * 'v' 0x76 V_id / V_parentId *
73 * 126 0x7e next tag critical *
76 * List of known tags in the volume header section (section 1)
78 * val hex what standard
81 * 'A' 0x41 V_RaccessDate
82 * 'C' 0x43 V_creationDate
83 * 'D' 0x44 V_dayUseDate
84 * 'E' 0x45 V_expirationDate
85 * 'M' 0x4d nullstring (motd)
86 * 'O' 0x4f V_offlineMessage
87 * 'U' 0x55 V_updateDate
90 * 'a' 0x61 V_acountNumber *
93 * 'd' 0x64 V_diskused *
94 * 'f' 0x66 V_filecount *
96 * 'm' 0x6d V_minquota *
99 * 'p' 0x70 V_parentId *
100 * 'q' 0x71 V_maxquota *
101 * 's' 0x73 V_inService
103 * 'u' 0x75 V_uniquifier *
104 * 'v' 0x76 V_stamp.version *
105 * 126 0x7e next tag critical *
108 * List of known tags in the vnode section (section 2)
110 * val hex what standard
113 * 'A' 0x41 VVnodeDiskACL
116 * 'f' 0x66 small file
118 * 'h' 0x68 large file
120 * 'm' 0x6d unixModifyTime *
123 * 's' 0x73 serverModifyTime *
125 * 'u' 0x74 lastUsageTime *
126 * 'v' 0x76 dataVersion *
127 * 126 0x7e next tag critical *