Re: a question about /boot/loader.conf

From: Warner Losh <imp_at_bsdimp.com>
Date: Mon, 21 Jul 2025 15:43:59 UTC
On Mon, Jul 21, 2025 at 8:32 AM void <void@f-m.fm> wrote:
>
> Hi,
>
> On recent -current, I notice that sysctls with a numerical value
> are not quoted, but those with an alpabetical one are.
>
> like this:
>
> security.bsd.allow_destructive_dtrace=0
> filemon_load="YES"
>
> Which is the Correct Way? All quoted, or "it doesn't matter"?

Doesn't matter, though quotes are needed for multi-word values. They
are otherwise optional. There was a brief period of time where the lua
loader didn't completely honor this, and lots of people popped up with
complaints :)

It all goes back to the 4th command line and the weird ways we bent it
to do our loader.conf.

Warner