From: thib on
Take a look at shred (coreutils), wipe and secure-delete.

-t


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C3F4FD1.50200(a)stammed.net
From: Mark on
On Thu, Jul 15, 2010 at 9:05 AM, H.S. <hs.samix(a)gmail.com> wrote:

>
> I have a couple of hard disks in a computer which is to be recycled. I
> want the windows OS in it to remain functional, but I want to be sure
> that I have deleted all my personal files securely (never used the OS
> that much anyway and there is hardly any important info in its registry
> or browser). There are a number of documents that were deleted in
> Windows the usual way (Shift+del) and I just want to make them
> unrecoverable.
>
> Its first and second partitions (sdc1 and sdc2) are vfat. I was thinking
> of mounting these on /mnt/scd1 (and scd2) and then doing:
> # dd if=/dev/zero > /mnt/sdc1/zeros.bin; rm -f /mnt/sdc1/zeros.bin
>
> and the same for scd2. The idea is fill the partition with new data thus
> overwriting any deleted files' data that is lying around. Would that be
> adequate? The objective is just to prevent a casual recovery, reading
> and copying of the data by a future user, so I don't need multiple
> over-writes.


This makes sense to me. As you said dd'ing the partition will blank
everything including Windows. Alternatively, if you know of a directory you
want everything inside shredded with zeros, you can use:

# find -type f -execdir shred -vfzu -n 0 '{}' \;
# rm -rf *

HTH.

Mark
From: Andrei Popescu on
On Jo, 15 iul 10, 13:55:21, H.S. wrote:
>
> I was looking for just making the already deleted files unrecoverable by
> a casual user. In other words, since a deleted file frees the space on
> disk, by filling up the disk with all zeros and then deleting that zeros
> file would be overwriting the earlier deleted files with zero. Am I
> correct in this?

You could also try recovering files with some common tools (PhotoRec
from package testdisk comes to mind).

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
From: green on
thib wrote at 2010-07-15 13:13 -0500:
> Take a look at shred (coreutils), wipe and secure-delete.

+1 wipe; I have used it to wipe an entire block device.
Also wipe2fs for zeroing unused space; and zerofree seems very similar.
From: Mark on
On Thu, Jul 15, 2010 at 1:41 PM, green <greenfreedom10(a)gmail.com> wrote:

> thib wrote at 2010-07-15 13:13 -0500:
> > Take a look at shred (coreutils), wipe and secure-delete.
>
> +1 wipe; I have used it to wipe an entire block device.
> Also wipe2fs for zeroing unused space; and zerofree seems very similar.
>

Do you have an example of what your wipe and wipe2fs commands are that
you've used? Didn't see much info on the websites here
http://wipe.sourceforge.net/ or here
http://web.cecs.pdx.edu/~cklin/wipe2fs/<http://web.cecs.pdx.edu/%7Ecklin/wipe2fs/>.
Would like to learn.

Thanks,
Mark