ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/23/05:00:37

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Wipe source
Date: 23 May 2001 01:57:23 -0700
Organization: MindSpring Enterprises
Lines: 25
Sender: nate AT mercury DOT st DOT hmc DOT edu
Message-ID: <8366esigss.fsf@mercury.st.hmc.edu>
References: <990440292 DOT 581058 AT isis DOT esoterica DOT pt> <9ebtcd$155k$1 AT node21 DOT cwnet DOT roc DOT gblx DOT net> <990523891 DOT 862847 AT osiris DOT esoterica DOT pt> <9eebk0$1a4q$1 AT node21 DOT cwnet DOT roc DOT gblx DOT net> <3 DOT 0 DOT 6 DOT 16 DOT 20010523084329 DOT 5eafda08 AT pop3 DOT 01019freenet DOT de> <3B0B6568 DOT 7274D3D AT falconsoft DOT be>
NNTP-Posting-Host: a5.f7.dc.3d
Mime-Version: 1.0
X-Server-Date: 23 May 2001 08:57:43 GMT
User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Tim Van Holder <tim DOT vanholder AT falconsoft DOT be> writes:

> Nur Nurani wrote:
> > 
> > To destuct sensibel data.
> > 
> > If you delete one file, you can restore it with 'undelete'.
> > 
> > Whiping a file desrtuct it total by writing 01010101 and then
> > 10101010 in each byte of an alocated sector/cluster.
> > 
> > You must read the FAT, where the file begins and then whipe each
> > Byte at the end of the sector/cluster is a pointer to the next
> > sector/cluster and you continue until EOF or better EOC.
> > 
> I suppose you could just open the file, write your 01's, flush, sync,
> rewind, write your 10's, flush, sync, then close the file and unlink it.

When you rewrite the file, the system is not obliged to use the same
clusters the file had before, is it?

-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019