Page 1 of 1

Implementing SFS

Posted: Mon Jan 21, 2008 7:40 pm
by piranha
Hey....
I'm implementing SFS into my kernel. I can read sectors by LBA.

Does anyone here have suggestions, or hints/tips? Anyone currently doing that/done that?
I'm still a little confused, I hope I can look at a basic source.
-JL

edit: Oops, wrong forum, kinda....is it?

Re: Implementing SFS

Posted: Mon Jan 21, 2008 8:43 pm
by Alboin
I'm currently implementing a utility to read, write, and format SFS disk images. ATM, it can read and write files and directories (Directory deletion is 50% finished.), format images, and list contents. I also plan to implement renaming.

It's not quite complete, but I plan to post it when it is. :)

Advice? My only suggestion would be to remember the *Simple* in Simple File System. Things aren't going to be efficient, or very fast when compared to more complex file systems. Trying to optimize SFS is nearly pointless.

If you have any questions I can probably (hopefully ;) ) answer them. Also, Combuster has an implementation in basic you can check out.