Page 1 of 1

Method of a root fs

Posted: Sat Feb 28, 2009 11:57 am
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?

Re: Method of a root fs

Posted: Sat Feb 28, 2009 12:48 pm
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.

Re: Method of a root fs

Posted: Sat Feb 28, 2009 12:53 pm
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 :)

Re: Method of a root fs

Posted: Sat Feb 28, 2009 9:49 pm
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.