On 07/10/16 22:31, Tinker wrote: > On 2016-07-11 04:18, Nick Holland wrote: >> On 07/10/16 21:48, Tinker wrote: >>> Hi, >>> >>> What is a recommended way to ensure that the MP kernel is installed >>> really, "cp /bsd.mp /bsd; reboot" because the bootloader always loads >>> the "/bsd" file? >> >> and when you build a kernel from source, it is always named "bsd". > > I use the precompiled one, at least for now. > >>> Or is it more advisable to echo >> something to /etc/boot.conf or the >>> like. >> >> There are people that like to create config files that have no other >> reason to be there. Do what you wish. >> >> However, you will note one process is in the OpenBSD docs. > > URL?
huh. Well...um...huh. Imagine my embarrassment. >> Curiously, the EXACT SAME process is in the installation scripts. I'd >> suggest you >> take a hint. But maybe you feel it is time to do some RAIF testing >> (Redundant Array of Individual Feet). Two is redundant, they grow back >> anyway, I saw it on the Internet. > > I don't want to reinvent the wheel or anything, I just found myself > unclear about the practice for ensuring the installed system picks the > prebuilt MP kernel. Well, guess that's not there anymore either... When you do an install, the installer sees if it is an MP system, and if it is, it installs the bsd.mp kernel, and sets that to default (by renaming it). It tells you this during the install process. If you install on an SP system, it will only install the SP kernel unless you override the default (maybe it is time to ask why not just install both by default for the <20M of additional disk space used?). The kernel you want to boot from by default should be named /bsd Any other kernel can be selected from the boot> prompt. If you are worrying about this excessively, you are probably doing it wrong. The installer does the right thing for your computer. Upgrade will do the right thing, even if the situation changed on your computer. The speed penalty of running a MP kernel on an SP processor is small enough that if it matters to you, you need new hw, so if you are building a universal boot device (i.e., a USB flash disk), just run the MP kernel all the time, you probably won't know the difference. Nick.