On Sun, Jun 06, 2021 at 05:53:37AM -0700, Andy Ruhl wrote: > Hopefully this helps someone searching: > > The options(4) man page shows this line: > > strings netbsd | sed -n 's/^_CFG_//p' | unvis (note that "netbsd" is > the kernel file, usually at /netbsd) > > This will work if the kernel has the INCLUDE_CONFIG_FILE option which > I believe is on by default.
See also config(1)'s -x