The kconfig command has two
options that are useful for dealing with changes to the currently
running kernel configuration that are being held for next boot. Configuration
changes are held for next boot when requested (using the -h (hold) option of kcmodule or kctune, or the -n (next boot) option of kconfig). Configuration changes are also held for next boot when they cannot
be applied to the currently running system.
To get a list of changes being held for next boot,
run kconfig -D (differences). This is really just
a short cut for running kcmodule -D and kctune -D. Similarly, to get a list of configuration settings
that are set to nondefault values, run kconfig -S (set). This is a short cut for running kcmodule -S and kctune -S.
If you decide that you don’t want those
changes to be applied at next boot after all, run kconfig
-H (unhold). All changes being held for next boot will be
discarded.
For more information on changes being held for
next boot, see “Persistence of Changes”.