POV-Ray : Newsgroups : povray.off-topic : A retro moment : Re: A retro moment Server Time
30 Jul 2024 00:25:22 EDT (-0400)
  Re: A retro moment  
From: Le Forgeron
Date: 7 Jun 2011 11:02:06
Message: <4dee3d6e$1@news.povray.org>
Le 07/06/2011 16:50, Invisible a écrit :
> On 07/06/2011 03:36 PM, Darren New wrote:
>> On 6/7/2011 7:08, Invisible wrote:
>>> OK. So it's called a file allocation table rather than a directory
>>> listing. Same difference.
>>
>> Um, no. These are two entirely different things.
> 
> In what way?

The File allocation table is a MAP of sectors (which ones are free,
which ones are busy). When writing a file, not in that order:
 * allocate sectors for the file content
 * file the sectors with file content
 * update the sector of the directory content to have "name-->sector/id"
 * update the FAT.

Notice that until you update the FAT, you cannot have a concurrent
allocation for another file.
(also, the update of directory might need a new sector)



-- 
Software is like dirt - it costs time and money to change it and move it
around.

Just because you can't see it, it doesn't weigh anything,
and you can't drill a hole in it and stick a rivet into it doesn't mean
it's free.


Post a reply to this message

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