[Prev][Next][Index][Thread]

Re: reading from a config file



> 	I wanted an example kernel to read from a config file for a
> network configuration. Can I do so or would I have to hardcode the
> configuration in the example? I am using GRUB as my bootloader.

If you don't want to read from a real disk, you can use the "memfs"
filesystem to get at multiboot module files loaded by GRUB's `module' command.
Try `start_fs_bmod' from -loskit_startup.

References: