flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Linear file system |
Author |
|
revolution 07 Mar 2014, 17:29
I expect the main problem is that HDDs and SSDs are block devices. If you pretend they are not then you create a few difficulties when updating partial blocks. Moving data sections up or down by one byte when defragmenting would be very awful.
|
|||
07 Mar 2014, 17:29 |
|
Tomasz Grysztar 07 Mar 2014, 21:09
I implemented a linear file system (called HFS) for the RAM-drive in my Titan OS back in 1999. You can take a look at these sources, but if you wanted to try to copy and use them, I must warn you that they are buggy. I remember that I fixed some serious bugs in the file system handling in the later version (the one that I lost) - and now I no longer remember what they were. So I know that it is buggy, but I don't remember in what way.
It was an interesting idea to play with, but as revolution pointed out already, it is not a good file system when working with sector-based devices like hard drives, as the out-of-alignment reads and writes would case serious performance issues. For the RAM-drive it was OK (though RAM can also have performance problems with non-aligned reads and writes, but definitely not as serious). |
|||
07 Mar 2014, 21:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.