1
0
Fork
You've already forked zerohere
0
An absurdly simple tool to zero-fill all available space on a filesystem (e.g. work around no TRIM support or sanitize free space)
  • C 55.6%
  • Makefile 44.4%
Find a file
2023年07月02日 06:11:58 -04:00
.github Remove Flattr from FUNDING.yml 2023年07月01日 03:24:10 -04:00
.gitignore Fix bug where zero file wasn't deleted on Windows when aborting 2021年05月07日 12:07:14 -04:00
LICENSE Update copyright years and LICENSE files 2023年01月04日 15:21:01 -05:00
Makefile Initial commit - version 1.0 2021年05月07日 11:44:30 -04:00
README README: remove defunct Flattr donation service 2023年07月02日 06:11:58 -04:00
zerohere.c Cleam up whitespace 2023年04月09日 03:35:46 -04:00

 zerohere, a free space zeroing tool
 by Jody Bruchon <jody@jodybruchon.com>
 Distributed under The MIT License
This tool does only one thing: makes a new file wherever it's run, floods it
with zero bytes, and deletes it on the first write failure. The purpose of
this tool is to zero out all of the free space on a filesystem, specifically
to work around the absence of TRIM support, since zero-filling all free space
will tell almost any eMMC/SSD controller chip that the space is no longer in
use, or at least that it can all be compressed into a single memory page.
There is a very good chance that this program will never be updated...because
why bother? It's the simplest thing in the world. Regardless, if you happen to
find bugs or make improvements, I'll gladly accept them.
https://github.com/jbruchon/zerohere/
If this tool helps you, check out my support and sponsorship options on my
website, including Ko-Fi, PayPal, and SubscribeStar:
https://www.jodybruchon.com/