Module management exercises
1.Check the loaded modules on your computer.

2.Count the number of modules available in the kernel you are using.

3 Connect a USB pencil and watch the output of the dmesg sudo instruction.
We see how the kernel detects the usb device and the necessary modules are loaded for it:

We see how the number of modules loaded has increased:

4.Eliminate the module for some non-essential dispotive and check what happens. Put it back on.
If we download it we will not be able to make use of exfat file systems:

To reload it:

5.Select a module that is in use on your computer and configure the boot so that it is not automatically loaded.
For this we add it to the “black list,” then update the initframes:

When we restart this will not be loaded:

6.Load the loop module, get information about what it is and what it’s for. List the content of / sys / modules / loop / parameters and set up the equipment so that up to 12 loop devices can be loaded next time it starts.
We load it and check that it’s loaded:

We see the information from it:

Ready the contents of the / sys / module / loop / parameters directory. This will show the parameters available for the loop module

If we want to limit there are 12 loop devices, we create the following file and add the following configuration:

We will have to update the sudo-initrfs-u initframes to apply the changes, and we will have to restart.
Once we reboot, if we see the content of the max _ loops parameter. We will see that this one has been applied:

