This commit is contained in:
Dietmar Maurer 2019-01-02 12:56:04 +01:00
parent 594fa52016
commit 44b3f62b42
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ pub struct ArchiveIndexHeader {
pub version: u32, pub version: u32,
pub uuid: [u8; 16], pub uuid: [u8; 16],
pub ctime: u64, pub ctime: u64,
reserved: [u8; 4056], // oversall size is one page (4096 bytes) reserved: [u8; 4056], // overall size is one page (4096 bytes)
} }
pub struct ArchiveIndexWriter<'a> { pub struct ArchiveIndexWriter<'a> {

View File

@ -16,7 +16,7 @@ pub struct ImageIndexHeader {
pub ctime: u64, pub ctime: u64,
pub size: u64, pub size: u64,
pub chunk_size: u64, pub chunk_size: u64,
reserved: [u8; 4040], // oversall size is one page (4096 bytes) reserved: [u8; 4040], // overall size is one page (4096 bytes)
} }
// split image into fixed size chunks // split image into fixed size chunks