TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: =?UTF-8?Q?BA=C5=9FAR?= AL
date: 2019-03-09 11:37:00
subject: Re: Zeroeing out unused s

R.Wieser wrote:

> I'm intending to do a raw backup (alike DD do if I'm not mistaken) of the SD
> card on a Windows machine and than zipping it.  For that reason I would like
> to clear all unused sectors before making the copy, as than the zipping will
> result in the smallest possible file.

Before I take out my SD card to let dcfldd (an enhanced version of dd)
copy an image that gets piped to 7z, I make this via ssh:

sudo ionice -c 3 fstrim -v /

This takes a while. But my 32 GB card's copy uses up 6 GB instead of 10
or so GB (packed).

B. Alabay

--
http://www.thetrial.eu/

















--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.