HDR_MAGIC
if (hdr.magic != HDR_MAGIC) {
"from metadata header\n", hdr.magic, (unsigned int)HDR_MAGIC);
hdr->magic = HDR_MAGIC;