I'm experimenting with different kernel configuration files and wanted to keep a log on the ones I used.

Here is the situation:

  • There is configuration file called my_config which i want to use as a template
  • I do make menuconfig, load my_config make NO changes and save as .config.
  • When i do diff .config my_config, there are differences in the files

Why would here be differences between the old file and the new file?

1 Answer 1


Why would here be differences

Because you loaded my_config into menuconfig, made changes, then saved it as .config. Of course they are different. If you saved it twice, once with each name, then they would be the same.

If you mean, they are more different than you think they should be, keep in mind there is not a 1:1 correspondence between things you select in menuconfig and changes that appear in the config file.

Also, if my_config was the product of an earlier version of the kernel source, make menuconfig will notice this and convert the file to reflect the newer source version. This means even if you change nothing, just loading it and saving it will result in substantial changes to the text of the file. However, the actual configuration should be essentially the same (generally the changes are the addition of new options with appropriate default values).

  • It was the third part (with different kernels), i formatted the question badly. Jan 16, 2014 at 14:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .