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