Chapter 22: File Systems and the VFS

News discussions

Moderator:Moderators

Post Reply
User avatar
Mike
Site Admin
Posts:465
Joined:Sat Oct 20, 2007 7:58 pm
Contact:
Chapter 22: File Systems and the VFS

Post by Mike » Wed Apr 07, 2010 1:22 am

Hello everyone,

I apologize for the delay for this release - Chapter 22 of our OSDev Series pre-release is here at last! It covers VFS and more file system topics in detail along with a new filesystem driver for our kernel. After this is done we will be able to load files off of disk with the ability to support any number of file systems and devices. This completes the basic framework needed for us to start diving into executing programs and, a little later, going into multitasking.

Please post comments or suggestions if there are any.
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com

Zig
Posts:10
Joined:Fri Feb 20, 2009 11:58 pm

Re: Chapter 22: File Systems and the VFS

Post by Zig » Wed Apr 07, 2010 3:06 am

Great :-)

Ecoboy
Posts:4
Joined:Fri Jul 31, 2009 3:55 pm

Re: Chapter 22: File Systems and the VFS

Post by Ecoboy » Wed Apr 07, 2010 1:06 pm

Waw! That's great! :mrgreen:
I hope that you continue this way .. I LOVE YOUR JOB and your explaining way ..
Thaks Mike :)

pathos
Moderator
Posts:97
Joined:Thu Jan 10, 2008 6:43 pm
Location:USA

Re: Chapter 22: File Systems and the VFS

Post by pathos » Mon Apr 19, 2010 3:12 am

Nice! Can't wait to dive into it tomorrow!

pathos
Moderator
Posts:97
Joined:Thu Jan 10, 2008 6:43 pm
Location:USA

Re: Chapter 22: File Systems and the VFS

Post by pathos » Fri Apr 23, 2010 2:12 pm

Any release date set for the demo?

User avatar
Mike
Site Admin
Posts:465
Joined:Sat Oct 20, 2007 7:58 pm
Contact:

Re: Chapter 22: File Systems and the VFS

Post by Mike » Sat Apr 24, 2010 4:00 am

Hello,

I apologize for the delay. The demo will be released tomorrow or the following day depending on schedule. Along with this, our scan code set reference and new multiboot chapter has also been released.
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com

pathos
Moderator
Posts:97
Joined:Thu Jan 10, 2008 6:43 pm
Location:USA

Re: Chapter 22: File Systems and the VFS

Post by pathos » Sat Apr 24, 2010 2:50 pm

Mike wrote:Hello,

I apologize for the delay. The demo will be released tomorrow or the following day depending on schedule. Along with this, our scan code set reference and new multiboot chapter has also been released.
No need to apologize -- I know you're busy! Thanks for the hard work!

pathos
Moderator
Posts:97
Joined:Thu Jan 10, 2008 6:43 pm
Location:USA

Re: Chapter 22: File Systems and the VFS

Post by pathos » Thu Apr 29, 2010 3:13 pm

Mike wrote:The demo will be released tomorrow or the following day
:D -> :lol: -> :o -> :) -> :| -> :? -> :( -> :cry:

Haha... just kidding.

__asm
Posts:5
Joined:Wed Feb 03, 2010 7:09 pm

Re: Chapter 22: File Systems and the VFS

Post by __asm » Thu Apr 29, 2010 3:31 pm

god i thought my girlfriend was a tease :roll: :lol:

User avatar
Mike
Site Admin
Posts:465
Joined:Sat Oct 20, 2007 7:58 pm
Contact:

Re: Chapter 22: File Systems and the VFS

Post by Mike » Fri Apr 30, 2010 2:16 am

Hello,

Sorry for the delay - I am cleaning up the demo somewhat and finishing features. 2 new bugs were found (there are workarounds in the demo though).

It should be released officially tomorrow with an updated chapter text.
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com

Insightsoft
Posts:63
Joined:Wed Jul 22, 2009 6:44 am

Re: Chapter 22: File Systems and the VFS

Post by Insightsoft » Sat May 01, 2010 8:44 pm

Hello my hero!

Please, consider this:

On demo22; in project=Fat12; mouse right-click; choose "Properties"; in Configuration Properties->C/C++->Additional Include Directory; change from physical to relational paths;

From: c:\xx\yy\kernel; to ..\kernel; ..\include
_____________
Think it, build it, bit by bit...

User avatar
Mike
Site Admin
Posts:465
Joined:Sat Oct 20, 2007 7:58 pm
Contact:

Re: Chapter 22: File Systems and the VFS

Post by Mike » Sat May 01, 2010 11:02 pm

Hello,

:shock: Woops, did not see that before release. I'll see about fixing that and re-releasing it. Thanks for letting me know :D
Lead Programmer for BrokenThorn Entertainment, Co.
Website: http://www.brokenthorn.com
Email: webmaster@brokenthorn.com

pathos
Moderator
Posts:97
Joined:Thu Jan 10, 2008 6:43 pm
Location:USA

Re: Chapter 22: File Systems and the VFS

Post by pathos » Tue May 04, 2010 9:23 pm

Mike, I may have found a bug.

I could have created it myself while messing around, but since I'm not able to compile the demo, I can't test your code. I'm getting an infinite loop if I try to read a nonexistent text file from a folder. For example, I have A:\folder\b.txt. If I type read, then \folder\b.txt, it reads the file. But if I type read, then \folder\a.txt, it constantly loops in the fsysFatOpenSubDir procedure, in the while(!kFile.eof).

Could you, or someone else, test this out on the demo code to see if it happens with it, or did I create this while messing around?

Post Reply