Produces a succinct comparison of two Linux kernel configuration files, showing added, removed and changed settings, in an indented layout reflecting the configurator menus. The resulting text file is coloured when the output is to a terminal; the colours can be retained when redirecting the output to a file or pipe.

Now comes with a program to extract configuration variable names and their prompts from their kernel build system, to create a symbol table. The comparison program can use this table to further annotate its output.

This program can also be used to create a commented "pretty-print" of a kernel configuration by comparing it with an empty one such as /dev/null.

Features

  • Shows only changed, added and deleted settings
  • Indents the output according to the Linux kernel configurator menus
  • Coloured output when sent to a terminal. The colour can be optionally retained when piped or redirected to a file
  • Optionally treat all module settings as builtin to reduce irrelevant differences
  • By default hides "unset" items, but this can be overridden
  • A POSIX shell script, using gawk, diff and mktemp
  • Optionally comments settings with their prompts from the kernel menus

Project Samples

Project Activity

See All Activity >

Categories

Diff Tools

License

GNU General Public License version 3.0 (GPLv3)

Follow cfcfg

cfcfg Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of cfcfg!

Additional Project Details

Operating Systems

Linux

Intended Audience

Information Technology, System Administrators

User Interface

Console/Terminal

Programming Language

Unix Shell

Related Categories

Unix Shell Diff Tools

Registered

2023-05-07