lenny  ] [  squeeze  ] [  sid  ]
[ Source: zerofree  ]

Package: zerofree (1.0.1-1)

zero free blocks from ext2/3 file-systems

Zerofree finds the unallocated, non-zeroed blocks in an ext2 or ext3 file-system and fills them with zeroes. This is useful if the device on which this file-system resides is a disk image. In this case, depending on the type of disk image, a secondary utility may be able to reduce the size of the disk image after zerofree has been run. Zerofree requires the file-system to be unmounted or mounted read-only.

The usual way to achieve the same result (zeroing the unallocated blocks) is to run "dd" do create a file full of zeroes that takes up the entire free space on the drive, and then delete this file. This has many disadvantages, which zerofree alleviates:

 * it is slow;
 * it makes the disk image (temporarily) grow to its maximal extent;
 * it (temporarily) uses all free space on the disk, so other
   concurrent write actions may fail.

Zerofree has been written to be run from GNU/Linux systems installed as guest OSes inside a virtual machine. If this is not your case, you almost certainly don't need this package.

Tags: System Administration: Filesystem Tool, Implemented in: C, Role: Program

Other Packages Related to zerofree

  • depends
  • recommends
  • suggests
  • dep: e2fslibs
    ext2 filesystem libraries
  • dep: libc6 (>= 2.7-1) [not alpha, ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: libc6.1 (>= 2.7-1) [alpha, ia64]
    GNU C Library: Shared libraries
    also a virtual package provided by libc6.1-udeb

Download zerofree

Download for all available architectures
Architecture Package Size Installed Size Files
alpha 7.0 kB60 kB [list of files]
amd64 6.6 kB56 kB [list of files]
arm 6.4 kB20 kB [list of files]
armel 7.9 kB56 kB [list of files]
hppa 7.0 kB56 kB [list of files]
i386 6.3 kB56 kB [list of files]
ia64 8.0 kB60 kB [list of files]
mips 6.9 kB56 kB [list of files]
mipsel 6.9 kB56 kB [list of files]
powerpc 9.0 kB60 kB [list of files]
s390 6.7 kB56 kB [list of files]
sparc 6.6 kB56 kB [list of files]