Re: Wanted: Secure-delete utility for Linux

Clifford Wolf (clifford@clifford.at)
Tue, 22 Dec 1998 18:57:12 +0100 (MET)


On Tue, 22 Dec 1998, Dave Cinege wrote:

> > I don't know a better name - but IMHO /dev/one would be a bad name.
>
> I don't thinks so.... in the same way /dev/zero could mean a 8-bit or 16-bit 0.
> (Think about it). Both devices deal in bits not bytes.

But it's always only binary zeros, regardless if it is 8-bit, 16-bit or
whatever. That's diffrent with one: A set of 8-bit ones is diffrent from
16-bit ones - and we need neither 8-bit nor 16-bit ones. In fact we need
8-bit 255, 16-bit 65535, and so on (i.e. only binary ones). The name
/dev/one could suggest that it is an integer one - but it isn't - it's a
number with all bits set to 1 - and that's much higher that integer 1.

If you wan't to delete all data on a disk or partition, just use
'badblocks -w' It writes 11111111, 01010101, 10101010 and 00000000
to the block device (as far as i remember).

greetings,
- clifford

-- -- -- -- -- -- -- -- -- -- -- -- --
Clifford Wolf (CEO and CTO)
The ROCK Projects Workgoup IRC: IRCnet / clifford
http://www.rock-projects.com/ http://www.clifford.at/
e-mail: c.wolf@rock-projects.com email: god@clifford.at

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/