Implementing SFS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Implementing SFS

Post 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?
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Re: Implementing SFS

Post 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.
C8H10N4O2 | #446691 | Trust the nodes.
Post Reply