shredding files on a flash drive

Anthony de Boer adb-tlug-AbAJl/g/NLXk1uMJSBkQmQ at public.gmane.org
Sat Jan 19 23:57:28 UTC 2008


Lennart Sorensen wrote:
> Well you could fill the device with a file (or multiple) containing all
> zeros.  That would at least fill all the free space with data which you
> could then delete.

If there's even the slightest chance you'll eventually run up against a
filesystem that does compression and can store a lot of /dev/zero in a
very small space, you could eventually get burned.  Giving it /dev/urandom
gives it something it can't effectively compress and has to write out in
detail.

-- 
Anthony de Boer
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list