A module can be loaded to Linux Kernel in two ways
1. Statically
2. Dynamically
Static loading means that the module is loaded in the memory with the kernel loading itself.
Dynamic loading means that the module is loaded into the kernel at the run time.
The command that is used to achieve it is insmod.
The user must have the root permission to do so.
e. sudo insmod test.ko
1. Statically
2. Dynamically
Static loading means that the module is loaded in the memory with the kernel loading itself.
Dynamic loading means that the module is loaded into the kernel at the run time.
The command that is used to achieve it is insmod.
The user must have the root permission to do so.
e. sudo insmod test.ko
Nice post. it was very helpful and informative.
ReplyDeletealso, check Linux Course in Pune