


MAKEHOLE(8)	 Linux Programmer's Manual	 MAKEHOLE(8)


NNAAMMEE
       makehole	-  a  program to make filesystem "holes" in pure
       executables

SSYYNNOOPPSSIISS
       mmaakkeehhoollee Imagefile

DDEESSCCRRIIPPTTIIOONN
       mmaakkeehhoollee copies the _I_m_a_g_e_f_i_l_e, using llsseeeekk(2) to skip over
       sections of the file which contain all zeros.  If the file
       system is smart enough to recognize this use of	llsseeeekk(2),
       then it will store the file in a more efficient fashion.

       The  logical  length of the file will _n_o_t be changed, only
       the way it is stored in the filesystem.	This can  save	a
       lot  of	space if the file contains large blocks of zeros.
       ccpp(3) will not similar "hole creation," but  it	does  not
       seem  to	be  as	extensive  (see  the GNU source code for
       details).  dddd(3) will _n_o_t create holes, and should be used
       when holes are not desired (i.e., for the sshhooeellaaccee(8) boot
       image).

SSEEEE AALLSSOO
       llsseeeekk(2), ccpp(3), dddd(3)

BBUUGGSS
       Must be root to run.
       The _I_m_a_g_e_f_i_l_e must be a pure exectuable.

AAUUTTHHOORR
       HJ Lu


























Linux 0.98		24 December 1992			1


