Method of a root fs
Method of a root fs
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/)
-
- Member
- Posts: 524
- Joined: Sun Nov 09, 2008 2:55 am
- Location: Pennsylvania, USA
Re: Method of a root fs
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
Ok. Thanks for all helpJohnnyTheDon 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.
Current work on a OS: SauOS (project homepage: http://code.google.com/p/sauos/)
- Steve the Pirate
- Member
- Posts: 152
- Joined: Fri Dec 15, 2006 7:01 am
- Location: Brisbane, Australia
- Contact:
Re: Method of a root fs
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.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?