2.2.4 Recoverable Storage File Format

The recoverable storage file format uses a basic transaction mechanism to store records. The size of each record in bytes MUST be a whole number. This format consists of a header file and 2 data files, each of which stores individual records. The header file stores structures required to maintain recoverable storage. Each data file stores individual records and the content of both data files is identical when the value of the Operation in progress field in the header file is 0x00000000. Of these data files, one is the primary data file and the other is a secondary data file. The information about which file is the primary data file is stored in the header. The data in the primary data file MUST be valid.

Integer values are recorded in little-endian except when stated otherwise.