Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
create sparse files from ordinary files
C
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
Makefile
README.md
makesparse.c

README.md

MakeSparse

Simple command to 'compress' files on the filesystem by skipping over blocs of zeros, thus creating sparse file out of regular file.

This was done to copy arround vmdk files but could be usefull in other situations as well.

Usage

makesparse output will read stdin and write it into the given output file, creating a hole each time a block of more than 256 zeroes are found.

Not much to say.

Something went wrong with that request. Please try again.