Ricky Robinson
Ricky Robinson

Reputation: 22893

Understanding /boot/config file

In /boot/config-$kernel_version I see things like:

CONFIG_X86_TSC=y
CONFIG_CAN_TSCAN1=m

Now, I thought that y stood for yes, which means the option is set. But how about m?

Upvotes: 8

Views: 14822

Answers (2)

Alepac
Alepac

Reputation: 1831

It means it is compiled as a kernel Module.

  • 'N' - means it is not compiled at all;
  • 'Y' - means it is compiled inside the kernel binary file;
  • 'M' - means it is compiled as a kernel module.

Upvotes: 1

Satish
Satish

Reputation: 17407

Y = Module is compiled directly in kernel. 

Notes: Some drivers should be ready all the time in kernel functionality, without them system can't function like Unix domain sockets (CONFIG_UNIX) which should be Y

N = Don't compile module in kernel. do nothing. 

Notes: Its your choice whether you want it or not.

M = Compile module as loadable module. Kernel will load this module On **Demand**. 

Notes: M means loadable module which they don't need to stay up all the time, Like Sound Driver which you can load when you want to play music. It will make your system more efficient.

Upvotes: 11

Related Questions