scrub, in the Fedora repos, has a fillzero option and a freespace specifier that should do the trick. MAKE A BACKUP FIRST, as scrub's primary job is to erase any trace of everything on a device, so you'd hate to get the options wrong!




On Wed, Sep 4, 2019 at 4:41 PM ToddAndMargo via users <users@lists.fedoraproject.org> wrote:
On 9/4/19 1:25 PM, ToddAndMargo via users wrote:
> On 9/4/19 2:44 AM, Patrick O'Callaghan wrote:
>> The point of Eyal's method is to ensure that all the free space on the
>> drive is filled with zeroes, thus improving the compression. Otherwise
>> you are just uselessly compressing junk.
>>
>> poc
>
> Is there a way to tell the stick itself to zero out
> all unused space?

This sounds like what I need:

https://manpages.ubuntu.com/manpages/trusty/man8/zerofree.8.html

Am I on the right track?

-T
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com