understanding lsmod
Hello there fellow penguinfollowers
I have embarked on a project to create a full harddisk encryption, with the /boot partition on a usb drive, as described in this tutorial http://linuxreviews.org/howtos/secur.../index.html.en Now, the first step says to compile a kernel with all modules compiled into the kernel itself rather than loaded seperately. I know i can use lsmod for this, but i have a little trouble understanding what the output of lsmod means. Does it simply list all the modules loaded, or does it list the status of all modules present, loaded or not? And what does the numbers to the left mean? Code:
example output |
Your modules are on disk in /lib/modules. The ones the kernel is using are in ram, and they are what is shown by lsmod. lsmod is 'ls' for modules.
Presuming you plug in and mount everything you want to use, save that lsmod output. Then compile those modules in(if it says you have to) and forget the ones you had on disk. Then when you type 'lsmod' there should be no modules in use. I wish you luck, btw. You will need it. |
Thanks for clearing that up for me. And i do not doubt the fact that it will be hard to get working. But i'll learn something from the process in any case :)
|
The kernel built process now has options to do most of the work for you - see here.
|
All times are GMT -5. The time now is 03:43 AM. |