Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

zerofill - clear unused disk space and blank devices.

Author

zerofill was written by David Sugar <dyfet@gnutelephony.org>.

Description

       This  command  is  a  relative of nullfile.  Like nullfile, it can be used to write all unused disk space
       with '0', thereby making file systems that are stored on virtual machines easier to pack.   In  addition,
       zerofill  can  fill  unused  disk  space  with  random data before zeroing, which can be useful to remove
       forensic trace of deleted files.  Finally, zerofile can be told to operate on and zero  (erase)  complete
       disk devices.

Name

       zerofill - clear unused disk space and blank devices.

Options

--random=count
              Number of passes to use writing random data before wiping data.

       --help Outputs help screen for the user.

Reporting Bugs

Synopsis

zerofill [options] [devices] ...

See Also