WFS, my FS design

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
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:

WFS, my FS design

Post 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
Attachments
wfs.pdf.txt
WFS
Just rename to PDF.
(19.4 KiB) Downloaded 141 times
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
Ninjarider
Member
Member
Posts: 62
Joined: Fri Jun 29, 2007 8:36 pm

Post 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.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

I mostly just want to have the simplest FS possible.

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post 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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
JackScott
Member
Member
Posts: 1031
Joined: Thu Dec 21, 2006 3:03 am
Location: Hobart, Australia
Contact:

Post by JackScott »

It also has a prewritten driver/utility for Windows, and there are several other OS projects using it.
Ready4Dis
Member
Member
Posts: 571
Joined: Sat Nov 18, 2006 9:11 am

Post 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.
User avatar
piranha
Member
Member
Posts: 1391
Joined: Thu Dec 21, 2006 7:42 pm
Location: Unknown. Momentum is pretty certain, however.
Contact:

Post by piranha »

I will eventually support fat, but for now I don't need to.

As a question of learning, What limitations?

-JL
SeaOS: Adding VT-x, networking, and ARM support
dbittman on IRC, @danielbittman on twitter
https://dbittman.github.io
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post 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)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply