A fat with filename and such data and pointer to the first sector of the file. Then every sector has a pointer to the next sector or a zero if the file ends here.
What do you think?
Is this filesystem idea silly?
Re: Is this filesystem idea silly?
I think that's how the Microsoft FAT system works (mostly).
Filesystems like Ext2fs use the idea of centralized link blocks, but fat uses more of a linked list style.
Filesystems like Ext2fs use the idea of centralized link blocks, but fat uses more of a linked list style.
Re: Is this filesystem idea silly?
This is not the way FAT works. When i started developing an os i also "invented" this FS. But there are 2 Facts that made me say NO:
1st: The Disk will become fragmentary[?!?! bad english ... sorry...- the thing DEFRAG will repair-]
2nd: When u store a pointer to the next sector in every sector u also have to store a state Byte that says endoffile aso. That is an enormous waiste of memory. Also, when u load a File, consisting of more than one sector u always will have to delete the Pointer and the state Byte. Better use FAT. Its supported by win (of course *g*) and Linux. So Files can easily be copied to the disk and u wont need no extra tool that allows access to this filesystem.
1st: The Disk will become fragmentary[?!?! bad english ... sorry...- the thing DEFRAG will repair-]
2nd: When u store a pointer to the next sector in every sector u also have to store a state Byte that says endoffile aso. That is an enormous waiste of memory. Also, when u load a File, consisting of more than one sector u always will have to delete the Pointer and the state Byte. Better use FAT. Its supported by win (of course *g*) and Linux. So Files can easily be copied to the disk and u wont need no extra tool that allows access to this filesystem.
Re: Is this filesystem idea silly?
Yes, I figured that out myself. Just gives me the joys of writing a defrag app for my brand new OS.1st: The Disk will become fragmentary[?!?! bad english ... sorry...- the thing DEFRAG will repair-]
