By user554629 on Aug 22, 2012
core files are often sparse files. This article demonstrates a core file written by HP-UX consumes filesystem space equivalent to the physical size of the core file. 'pax' and 'gzip' demonstrate the core file is highly compressible.
pax actively sparses a file extracted from an archive. This (mostly zeros) core file appears to be 7200 times smaller with respect to the amount of filesystem space used.
A small demonstration program shows how to write sparse files from an application.
Two additional uses for the pax utility.[Read More]