I just got a micro sd card that I plan on using with the Raspberry Pi. I used the KDE partition manager to delete the original partition on the card and to write a new 12GiB ext4 partition. After doing this, the card still says that 6% of it, 30.02 MiB, is being used. Basically, I want to completely wipe of the card of all contents so as to prepare it for a new OS. Would a command like shred or dd do the trick or would that destroy the partition as well?
If you just made a new partition, there shouldn't be any actual files on it. That 30MB is probably just the filesystem itself. The partition needs a few different tables and whatnot to actually keep track of files.
You can double check that there really isn't anything on it by looking for hidden files with
Depending on exactly how you invoke the commands, it is likely that using
Your guessing about
It can take some time depending on size and speed of SD card. If you are convinced, that CIA would like to recover your files, then overwrite the SD card with
And one more thing: be extremely careful when calling