Wiping Out Data

Jeffrey F. Bloss jbloss at tampabay.rr.com
Wed Mar 28 18:38:21 UTC 2007


Matthew Flaschen wrote:

> Jeffrey F. Bloss wrote:
> > I don't believe this is correct because dd doesn't work at that
> > level. The command you suggested... 'dd if=/dev/random of=/dev/sdb'
> > *should* fail with a "no media" error unless sdb is mounted.
> 
> I did not suggest that command.  I suggested shred , and said I had
> heard the dd command /wasn't/ equivalent (can't confirm or deny).  I

Indeed. I misread or "mis-remembered" what you had written. My humble
appologies...

> > I'm not sure mkfs does anything significant as far as "bit wiping" goes
> > either, although I'm not up on the mechanics of how it creates file
> > systems.
> 
> It may zero everything (not sure), but the real data destruction was
> already done by shred.  mkfs is just to recreate the filesystem after
> shred-ding it.

I don't think mkfs writes any real "data" at all. In fact I'd bet that
if you simply delete/create ext2/3 partitions you run a chance of
having every bit of the old partition's data in place after the "new"
partitions has been created. Assuming all the geometry is perfect of
course. A single block error and all bets are off. ;)

-- 
     _?_      Outside of a dog, a book is a man's best friend.
    (o o)         Inside of a dog, it's too dark to read.
-oOO-(_)--OOo------------------------------[ Groucho Marx ]---
                    http://wrench.homelinux.net/~jeff/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 892 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070328/2d88c84f/attachment.sig>


More information about the ubuntu-users mailing list