Re: Proposal to enhance boot path selections
Greg Troxel <[email protected]> Sun, 11 May 2025 10:29:27 -0400
| Newsgroups | gmane.os.netbsd.ports.x86-64,gmane.os.netbsd.devel.kernel,gmane.os.netbsd.ports.i386 |
|---|---|
| Message-ID | <[email protected]> |
Paul Goyette <[email protected]> writes: >> Yup, I think you're missing the fact that all of this relates to the >> ratther new-ish KERNEL_DIR option, support for which was only recently >> completed (by myself). KERNEL_DIR is described briefly in options(4), >> and it is noted in both CHANGES and UPDATING. > > Correction, KERNEL_DIR is described in mk.conf(5). It is a build.sh > option. Is how one interacts with it described in boot(8)? It seems like it should be. (The build where I went to read that man page is from May 5.) Beyond that, if one uses that by specifying a directory, which contains a kernel and modules, then I don't see why slashes should have anything to do with it. It would simply be if filename(which is really pathname?) refers to a directory AND the KERNEL_DIR option is enabled in the boot loader(?) then bootcode tries to find a kernel and modules in that directory, and if so, boots them, and if not prints an error so I don't understand the discussiion about if/then rules relating to slashes.