Page 1 of 1

WFS, my FS design

Posted: Mon Mar 17, 2008 6:58 pm
by piranha
So, I started writing a FS design in school after a test, and I typed it up when I got home:

Thoughts?

-JL

Posted: Mon Mar 17, 2008 8:45 pm
by Ninjarider
not sure what you want your end results to be. have you thought about user priv. somthing that unix has. the ablility for the creater to set global group and user priviliges.

Posted: Mon Mar 17, 2008 10:06 pm
by piranha
I mostly just want to have the simplest FS possible.

-JL

Posted: Tue Mar 18, 2008 1:37 am
by Combuster
I mostly just want to have the simplest FS possible.
Use SFS in that case. It has pretty much the same design but doesn't suffer from several limits your design imposes.

Posted: Tue Mar 18, 2008 1:43 am
by JackScott
It also has a prewritten driver/utility for Windows, and there are several other OS projects using it.

Posted: Tue Mar 18, 2008 5:48 am
by Ready4Dis
Or, just support Fat, it's very simple to understand and write drivers for, and as a benefit, you can read/write to it under windows, linux, mac, beos, and many other things. I just don't see the point of creating your own BASIC file system when plenty exist that are documented and supported (like, how do you check your disk for consistancy unless you write a utility). When I was writing my Fat formatting utlities, I would run chkdsk on it to see if there were any problems, then i could copy a file using windows or dos, and see what the difference was with my code vs. what happened when doing it via windows/dos.

Posted: Tue Mar 18, 2008 8:21 am
by piranha
I will eventually support fat, but for now I don't need to.

As a question of learning, What limitations?

-JL

Posted: Tue Mar 18, 2008 3:45 pm
by Combuster
- 32-bit filesizes
- 8-bit (!) file offsets
- filenames hardlimited to 55 characters
and by far not complete enough to write an implementation (or for detecting more subtle flaws)