0

After compilation, if one wants to know the different options which were enabled during compilation, how can one find out?

Saynb
  • 55
  • 8

1 Answers1

2

Assuming you have kernel config options and if your kernel was built with INCLUDE_CONFIG_FILE option, which should be enabled in GENERIC kernel config on recent BSD versions, then you can retrieve kernel config with sysctl kern.conftxt command.

ArtemB
  • 3,496
  • 17
  • 18