POV-Ray : Newsgroups : povray.off-topic : A retro moment : Re: A retro moment Server Time
29 Jul 2024 18:18:39 EDT (-0400)
  Re: A retro moment  
From: Invisible
Date: 7 Jun 2011 10:05:58
Message: <4dee3046$1@news.povray.org>
>> Quite why Windows can't just write the final listing to the directory
>> block and then write all the file data blocks sequentially is beyond me,
>> but anyway...
>
> What happens if the power goes out in the middle of the operation and
> the file allocation table has already been written, but the actual data
> has not been copied over? This is why you have to update the FAT
> everytime you use a block, and the directory everytime you write a file.
>
> This is one of the earlier forms of transaction tracking.

OK. So do it in the opposite order. Write the directory entry last, 
after all the files have been written.

It's not like anybody expects a floppy disk to actually operate 
*reliably*...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.