Method of a root fs

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
imate900
Member
Member
Posts: 80
Joined: Sat Feb 28, 2009 11:43 am

Method of a root fs

Post by imate900 »

Should I use Multiboot and have a module that contains the file system, or implement disk drivers and a file system driver and have a "real" root fs mounted from disk?
Current work on a OS: SauOS (project homepage: http://code.google.com/p/sauos/)
Image
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: Method of a root fs

Post by JohnnyTheDon »

The second one. If you use a module and don't have a file system driver nothing will be persisted. Every time you boot the system it'll be a blank slate.
User avatar
imate900
Member
Member
Posts: 80
Joined: Sat Feb 28, 2009 11:43 am

Re: Method of a root fs

Post by imate900 »

JohnnyTheDon wrote:The second one. If you use a module and don't have a file system driver nothing will be persisted. Every time you boot the system it'll be a blank slate.
Ok. Thanks for all help :)
Current work on a OS: SauOS (project homepage: http://code.google.com/p/sauos/)
Image
User avatar
Steve the Pirate
Member
Member
Posts: 152
Joined: Fri Dec 15, 2006 7:01 am
Location: Brisbane, Australia
Contact:

Re: Method of a root fs

Post by Steve the Pirate »

imate900 wrote:Should I use Multiboot and have a module that contains the file system, or implement disk drivers and a file system driver and have a "real" root fs mounted from disk?
The first one's useful early on, but in the long run, as Johnny said, you will want to mount real disks and be able to write to them.
My Site | My Blog
Symmetry - My operating system.
Post Reply