In freebsd, how to know what options were enabled in kernel during Compiling

StackOverflow https://stackoverflow.com/questions/22320430

  •  12-06-2023
  •  | 
  •  

Вопрос

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

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top