Mail Archives: djgpp/2001/05/23/15:38:45
> From: Nate Eldredge <neldredge AT hmc DOT edu>
> 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.
- Raw text -