On Mon, Dec 01, 2025 at 11:06:53AM +0000, Zé Loff wrote:
>
> > I cold boot. I reach the '>boot ' prompt (thanks to biosboot(8).
> > boot(8)'s main purpose is to load the system kernel, which I do e.g.:
> >
> > boot> hd0a:/bsd.sp # Now I need to convince myself why /bsd.sp
> > # does/should not honour the contents of
> > # /etc/bsd.re-config because it used to.
>
> No it never did. Look inside /usr/libexec/reorder_kernel: the relinked
> kernel is put on /bsd.
>
> When you tell the bootloader to boot /bsd.sp you are not booting a
> relinked kernel (i.e., one that has been altered by /etc/bsd.re-config),
> but the same old /bsd.sp. Don't believe me? Do as Nick suggested and
> run
>
> # ls -l /bsd*
> # /usr/libexec/reorder_kernel
> # ls -l /bsd*
I do believe you. Your and Nick's comments *have* sunk into my pea
sized brain. Thanks for your comments.
>
> and then compare the dates between the first and the second ls.
> Regardless of whether you booted /bsd or /bsd.sp, it is always /bsd than
> changes.
>
>
> --
>
>
--
aer
No comments:
Post a Comment