DragonFly commits List (threaded) for 2008-09
DragonFly BSD
DragonFly commits List (threaded) for 2008-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/etc Makefile src/share/mk bsd.own.mk src/sys/kern kern_linker.c src/sys/boot/common help.common loader.8 module.c src/sys/boot/forth loader-bootp.conf loader.conf src/sys/conf kern.post.mk kern.pre.mk src/etc/mtree BSD.root.dist


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Wed, 3 Sep 2008 08:33:57 -0700 (PDT)

:One slight disadvantage to this scheme is you need to change two variables
:to switch between kernels in the boot loader:
:  set kernel="kernel.NAME"
:  set module_path="/boot;/boot/modules.NAME"
:
:so it's prone to booting with wrong combination of kernel and modules.

    My thinking was to ultimately use a name extension for multiple
    kernels.  e.g. /boot/kernel.A, /boot/kernel.B, /boot/kernel.C,
    /boot/modules.A, /boot/modules.B, /boot/modules.C, and so forth.
    Then the kernel could be specified with a variable specifying just
    the kernel name (A, B, C) and the module path would be postfixed
    automatically by the module search code.

    I don't like the deep directory structure FreeBSD went with.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



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