Paul Arthur wrote: > On 2013-01-17, Maxim Kammerer <m...@dee.su> wrote: > > > All in all, secure-delete has its uses. What are people supposed to > > use instead, dd if=/dev/zero of=/media/sdcard/naked_gf_0001.jpg? > > Perhaps 'shred', which is part of coreutils?
>From man shred: CAUTION: Note that shred relies on a very important assumption: that the file system overwrites data in place. This is the traditional way to do things, but many modern file system designs do not satisfy this assumption. The following are examples of file systems on which shred is not effective, or is not guaranteed to be effective in all file sys- tem modes: * log-structured or journaled file systems, such as those supplied with AIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.) In addition, pretty much every flash media that exists today does flash translation *and* has spare unaddressable flash for error correction. The best software can do is to repeatedly overwrite the flash with random bytes. (Don't use /dev/zero because clever translation sees that other pages already have the same contents, and thus does not overwrite any flash cells.) //Peter