On 2024-03-16, Nick Holland <n...@holland-consulting.net> wrote:
> IF you want to make changes to disk, use "config -ef" from
> the booted system, then write your changes to disk.  Then
> you can either use config -ef to re-enable a device, or just
> copy over an unmodified kernel.
>
> Be aware that altering the kernel binary will "break" the
> Kernal Address Re-Linking (KARL).  There are fixes for this,
> HOWEVER, I'm not sure what your goals are here in tweaking
> your kernel like this, but I'm guessing breaking KARL isn't
> your biggest problem you are about to create for yourself.

in the few cases where this does make sense: add to bsd.re-config(5)
and run /usr/libexec/reorder_kernel by hand

> This probably isn't something you want to be doing.

yep.


-- 
Please keep replies on the mailing list.

Reply via email to