HomeFreeBSD

Add image_data() for checking whether a sequence of blocks has data.

Description

Add image_data() for checking whether a sequence of blocks has data.
Use this for VHD and VMDK to avoid allocating space in the image
for empty sectors.

Note that this negatively affects performance because mkimg uses a
temporary file for the intermediate storage. When mkimg has better
internal book keeping, performance can be significantly improved.

Details

Provenance
marcelAuthored on
Parents
rS268645: MFC r267572: MFV r249332 (illumos-gate 14005:55fc53126003)
Branches
Unknown
Tags
Unknown

Event Timeline