Thank you.Schol-R-LEA wrote:I am reading Ben's FYSOS books now
First, I would much enjoy hearing how you loved/hated implementing this file system. Any comments that you have, both good and bad, would be well appreciated.Schol-R-LEA wrote:I'm seriously wondering if it would make more sense to implement FYSFS instead.
With that being said, and not knowing if you are writing for a floppy or hard drive now, I actually would recommend the LEAN file system. The FYSFS system was intended to simply see if my virtual file system layer was independent of the actual file system. When I first started, I implemented FAT as well. When I started to expand out to other file systems, I noticed that some of my code was too specific to FAT, so I needed a test bed. Plus, I thought it would be (and is was) enjoyable to make a simple, non-existent file system to test with. The FYSFS system has a few advantages, allowing for quite long file names, (mostly) unlimited sizes both file names and actual file contents, and a few other items. However, it has disadvantages as well. The overhead for these "slots" (I call them) takes a little bit of space.
Anyway, if you are writing for a hard drive, I would actually recommend the LEAN file system. I had/have the honor of working with the original author and have added and implemented a lot of its current format. I believe he (we) are ready to release version 0.7 soon.
The LeanFS has a lot of advantages: Large files, long filenames, extents, forks, etc.
Anyway, if you do implement the FYSFS system, please let me know how you feel about it, and don't be afraid to express your mind. I don't expect much from the file system, so I don't expect much praise either. If you implement the LEAN system, I would love to hear about it too.
Thanks,
Ben