Skip to content
Proyectos

Acerca de

Fast block-level file diffs (e.g. for VM disk images) using CoW filesystem metadata

Herramientas de desarrollo

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
-1
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

blockdiff

Fast block-level file diffs (e.g. for VM disk images) using CoW filesystem metadata

Usage

File snapshots

Creating a snapshot:

blockdiff create output.bdiff target.img --base base.img // creates output.bdiff from target.img and base.img

Applying a snapshot:

blockdiff apply input.bdiff target.img --base base.img // creates target.img from input.bdiff and base.img

Compactifying sparse files

You can also use the blockdiff tool without a base image. This can be used to "compactify" sparse files for uploading to storage. A sparse file might have a size of 100GB, but only 10GB of data. The blockdiff tool can create a compact 10GB blockdiff file that contains only the actual data. (Under the hood, it is equivalent to creating a blockdiff with an empty sparse file as the base.)

blockdiff create compact.bdiff target.img // consolidates sparse file into a new compact blockdiff 
blockdiff apply compact.bdiff target.img // creates a new sparse target.img from the blockdiff

Explorar proyectos relacionados

Cargando…