[Coco] What would OS9 Do?

Joe F joef6809 at gmail.com
Thu Jun 3 15:20:22 EDT 2010


Recently I've started to really dig into the OS9 file system and there seems
to be a point I'm not understanding. The docs say that each file has a "File
descriptor" sector that holds information about the file. fair enough. Part
of the FD is the FD_SEG section which seems to be a table holding up to 48
entries for the purpose of adding extends to a file when the next sector
isn't free. So of course I want to know what happens to a heavily fragmented
file when all 48 slots are full and the system needs to extend the file
again. I can only assume it would either fail with an error or simply
re-copy the file to contiguous space, sort of on demand de-frag. Also as the
system see the table filling up does it start extending the file with more
empty sectors at the end?



More information about the Coco mailing list