How do I do "wipe" in WinNT

Wesley J Landaker
Thu, 2 Nov 2000 13:55:06 -0700

Hash: SHA1

On Thursday 02 November 2000 11:21am, Marc Mutz wrote:

> <snip>
> This is BS. At the _very_ least, you should sync the written blocks
> to disc after each iteration. Then there are all the other problems
> people mentioned.
You're right, it needs an fflush() after each write, and I also forgot an fclose() at the end. I typed that thing up in my e-mail buffer, so there were admittadly some bugs. =) Anyway, my point was that it's pretty easy to make a program that does almost exactly what every other "wipe" or "shred" program does for Windows if you want one. (BTW, if anyone wants the code I posted before with lots of little tweaks and fixes I added for fun after I sent the original message, I'd be happen to send it to ya). All the arguments about possible not overwriting in place don't apply if you have a FAT filesystem. Once the data is out of the write cache, It does always overwrite files in place, assuming you don't resize the file first. (= Obviously, no shredding or wiping program is going to be absolutely foolproof, but that doesn't mean that you shouldn't use one at all. - -- Wesley J. Landaker - ICQ# 17241646 PGP DSS/DH Key: 0x0F338E07 PGPKey FP: 3AAA 424B B488 198E B68B C0E5 390A BACA 0F33 8E07 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: See or to obtain PGP software iEYEARECAAYFAjoB1K0ACgkQOQq6yg8zjgfaAACeIm0oDEzPPX/arBIe+ceAoukw tzcAoLg0teMSVp+1LyCRI0K40AnwZjtqiEYEARECAAYFAjoB1K0ACgkQOQq6yg8z jgfaAACfW+KrFllVJFNAy45QB8MsT/I+NCsAn03MLxz/fDf4boi3C2Ie1bKZCmv8 =YbR6 -----END PGP SIGNATURE----- -- Archive is at - Unsubscribe by sending mail with a subject of "unsubscribe" to