Date: Wed, 23 May 2001 20:41:34 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Nate Eldredge Message-Id: <2593-Wed23May2001204133+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: <8366esigss.fsf@mercury.st.hmc.edu> (message from Nate Eldredge on 23 May 2001 01:57:23 -0700) Subject: Re: Wipe source 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> <8366esigss DOT fsf AT mercury DOT st DOT hmc DOT edu> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Nate Eldredge > Newsgroups: comp.os.msdos.djgpp > Date: 23 May 2001 01:57:23 -0700 > > > > > 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? The system is not obliged, but AFAIK DOS and Windows 9X filesystems almost always do use the same clusters if you open an existing file and write into it.