the first 4096 bytes in a super.img is always reserved according to liblp code, the next 4096 contains primary geometry and start with the magic, for example lpunpack refuse to run if it can't find the magic at offset 4096.
a tar consists of 512 bytes zero padded blocks,
somehow, a fully zero filled file could be a semantically valid TAR archive (WHAT), avoid using tarfile.is_tarfile() for these files bcs its very slow if the file is large.
the first 4096 bytes in a super.img is always reserved according to liblp code, the next 4096 contains primary geometry and start with the magic, for example lpunpack refuse to run if it can't find the magic at offset 4096.
a tar consists of 512 bytes zero padded blocks, somehow, a fully zero filled file could be a semantically valid TAR archive (WHAT), avoid using tarfile.is_tarfile() for these files bcs its very slow if the file is large.