TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: R.WIESER
from: FOLDEROL
date: 2019-03-06 08:16:00
subject: Re: Zeroeing out unused s

On Wed, 6 Mar 2019 08:52:02 +0100
"R.Wieser"  wrote:

>TNP,
>
>> Mmm. I suspect you will be out of luck.
>
>Always a possibility.
>
>> The only way to make sectors that are not in use zero that I can think of,
>> is to do a complete write of a blank piece of something..
>> with zeros and copy only the valid data ontop it.
>
>Alas, I'm looking for a backup method of an in-use card (updated, installed
>programs - the works).  Would also be nice if I could backup a
>LibreElec/Kodi configured card with it.
>
>> That means working at the file copy level, not the DD level.
>
>I am not at all sure if I can copy /all/ files (to begin with), and if
>writing them back to a newly created SD card (using noobs) will result in,
>functionally, the same as the origional.
>
>Which is why my thoughts went toward a "raw" copy - either the full SD card,
>or per partition (not sure about which one yet).
>
>And to be honest, I just now realized that clearing out unused sectors on a
>LibreElec/Kodi configured card might be a problem ... (no user accessible
>OS).
>
>Regards,
>Rudy Wieser


For the home partition I've used 'dd if=/dev/zero of=blank'
Then once it reports disc full 'rm blank'

Rinse and repeat for any other partitions.


--
W J G

--- 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™.