Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 2
    Is it official page of the tool intgat.tigress.co.uk/rmy/uml/index.html ? Do you think it's safe to use with ext4 ? Commented Jul 29, 2012 at 14:08
  • 3
    @GrzegorzWierzowiecki: yes, that is the page, but for debian and friends it is already in the repos. I used on a ext4 partition on a virtual disk to successively shrink the disk file image, and had no problem. Commented Jul 29, 2012 at 14:12
  • 2
    This isn't equivalent to the crude dd method in the original question, since it doesn't work on mounted file systems. Commented Mar 4, 2016 at 10:10
  • 4
    Be careful - I lost ext4 filesystem using zerofree on Astralinux (Debian based)… Commented Nov 23, 2016 at 22:20
  • 2
    June 2019 - I've successfully used zerofree on an ext4 filesystem mounted read-only. (My Debian version refuses to attempt anything with a filesystem mounted read-write.) Commented Jun 11, 2019 at 12:51