all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: zerofree  ]

Package: zerofree (1.1.1-1 and others)

Links for zerofree

Screenshot

Debian Resources:

Download Source Package zerofree:

Maintainer:

External Resources:

Similar packages:

zero free blocks from ext2, ext3 and ext4 file-systems

Zerofree finds the unallocated blocks with non-zero value content in an ext2, ext3 or ext4 file-system and fills them with zeroes (zerofree can also work with another value than zero). This is mostly 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 unused blocks) is to run "dd" to 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. (One other use case would be to erase sensitive data a little bit more securely than with a simple "rm").

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

Other Packages Related to zerofree

  • depends
  • recommends
  • suggests
  • enhances

Download zerofree

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 1.1.1-1+b1 8.0 kB82.0 kB [list of files]
amd64 1.1.1-1+b1 8.1 kB30.0 kB [list of files]
arm64 1.1.1-1+b2 8.1 kB82.0 kB [list of files]
armel 1.1.1-1+b1 9.1 kB25.0 kB [list of files]
armhf 1.1.1-1+b1 8.5 kB25.0 kB [list of files]
hppa (unofficial port) 1.1.1-1+b1 8.4 kB25.0 kB [list of files]
i386 1.1.1-1+b1 8.1 kB29.0 kB [list of files]
ia64 (unofficial port) 1.1.1-1+b2 8.6 kB26.0 kB [list of files]
m68k (unofficial port) 1.1.1-1+b1 7.8 kB25.0 kB [list of files]
mips64el 1.1.1-1+b1 8.2 kB82.0 kB [list of files]
ppc64 (unofficial port) 1.1.1-1+b1 8.3 kB82.0 kB [list of files]
ppc64el 1.1.1-1+b1 8.2 kB82.0 kB [list of files]
riscv64 1.1.1-1+b2 7.9 kB26.0 kB [list of files]
s390x 1.1.1-1+b1 8.0 kB25.0 kB [list of files]
sh4 (unofficial port) 1.1.1-1+b2 8.2 kB81.0 kB [list of files]
sparc64 (unofficial port) 1.1.1-1+b1 8.0 kB1,042.0 kB [list of files]
x32 (unofficial port) 1.1.1-1+b1 8.0 kB29.0 kB [list of files]