On Tue, 2 Nov 2004 [EMAIL PROTECTED] wrote: > So there is the problem to estimate the size of the code: > > - changing references to f_nodes from near to far (thus with a segment prefix)
about 1300 bytes. It's not just segment prefixes; lots of pointers get passed around. They're really quite expensive, those far pointers. > against: > > - the code used to sync both structures Most probably less than 1300. > - the amount of memory occupied by the f_nodes themselves 120 bytes (2x60). There's also something else, the SFT is quite a clunky structure to work with: with fnodes we have total flexibility, but SFTs suffer backward compatibility hacks to store FAT32 cluster numbers (see RBIL table 1642, which doesn't even mention where Win 98 DOS stores them for the most part, but they need to be spread out over multiple WORDs). Some simple functions such as lseek don't need fnodes. But for something like open() they're quite convenient. Eric: the missing direntry items aren't a big deal: dir_write would need to be changed to do a read/modify/write instead of a simple write. The rest more or less corresponds, indeed. Bart ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel
