[Trilug-ontopic] secure removal of files on a usb stick

Greg Brown gwbrown1 at gmail.com
Sat Jul 26 21:47:24 EDT 2014


Is there any benefit using /dev/random or /dev/urandom in this scenario?


On Sat, Jul 26, 2014 at 9:34 PM, David Burton <ncdave4life at gmail.com> wrote:

> The problem with srm is that it doesn't overwrite the freespace, which
> might contain recoverable data.
>
> However, there's no need to repeatedly overwrite. It wastes time and puts
> unnecessary wear on the device. The fear that someone could recover data
> which has only been overwritten once is superstitious nonsense. This is
> sufficient:
>
> ddrescue /dev/zero dev/sda1
>
> Dave
>
>
>
> On Sat, Jul 26, 2014 at 8:04 PM, Greg Brown <gwbrown1 at gmail.com> wrote:
>
>> Which is better in theory?  To use srm like this:
>>
>> srm -v -r ./usb-stick-mount-point
>>
>> or to umount the drive and go with:
>>
>> shred -vzn 3 /dev/sda#  (in this case sda1)
>>
>> Throw out the 3 vs. 38 wipes of data - if that is critical assume 'shred
>> -vzn 38'.
>>
>> Thoughts?
>>
>> Greg
>>
>>
>> _______________________________________________
>> Trilug-ontopic mailing list
>> Trilug-ontopic at trilug.org
>> http://www.trilug.org/mailman/listinfo/trilug-ontopic
>>
>>
>
> _______________________________________________
> Trilug-ontopic mailing list
> Trilug-ontopic at trilug.org
> http://www.trilug.org/mailman/listinfo/trilug-ontopic
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.trilug.org/pipermail/trilug-ontopic/attachments/20140726/210e5c70/attachment.html>


More information about the Trilug-ontopic mailing list