User Tools

Site Tools


system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
system [2019/04/12 18:03]
Miroslav Bernát
system [2019/04/12 19:06] (current)
Miroslav Bernát
Line 30: Line 30:
 | **mkinitrd** <​RAM_disk_image>​ <​kernel_version>​ | creates an initial RAM disk image containing basic modules needed for mounting „/“ filesystem (only then modules inside ///​lib/​modules/<​kernel_version>//​ can be loaded), **--with=**<​module>​ adds a specified module into the initial RAM disk image, **-v** detailed output\\ ''#​ mkinitrd /​boot/​initrd-$(uname -r).img $(uname -r)''​\\ (recreates the initial RAM disk image; needed e.g. when ext2 FS has been converted to ext3 FS)\\ ''#​ mkinitrd --with=raid1 /​boot/​initrd-raid1-$(uname -r).img $(uname -r)''​\\ (the new initial RAM disk image with the particular module has to be added to ///​boot/​grub/​grub.conf//​ as a new paragraph – i.e. copy the previous part from the line beginning with „title...“ to „initrd...“ and correct the new RAM disk image title on the last line; at the system startup it is possible to choose this new image to be used) | | **mkinitrd** <​RAM_disk_image>​ <​kernel_version>​ | creates an initial RAM disk image containing basic modules needed for mounting „/“ filesystem (only then modules inside ///​lib/​modules/<​kernel_version>//​ can be loaded), **--with=**<​module>​ adds a specified module into the initial RAM disk image, **-v** detailed output\\ ''#​ mkinitrd /​boot/​initrd-$(uname -r).img $(uname -r)''​\\ (recreates the initial RAM disk image; needed e.g. when ext2 FS has been converted to ext3 FS)\\ ''#​ mkinitrd --with=raid1 /​boot/​initrd-raid1-$(uname -r).img $(uname -r)''​\\ (the new initial RAM disk image with the particular module has to be added to ///​boot/​grub/​grub.conf//​ as a new paragraph – i.e. copy the previous part from the line beginning with „title...“ to „initrd...“ and correct the new RAM disk image title on the last line; at the system startup it is possible to choose this new image to be used) |
 | **lsmod** | lists all modules loaded in the kernel (data from ///​proc/​modules//​) | | **lsmod** | lists all modules loaded in the kernel (data from ///​proc/​modules//​) |
-| **modinfo** <modul> | shows information about a module, **-d** short description | +| **modinfo** <module> | shows information about a module, **-d** short description | 
-| **insmod** <modul> | inserts a module into the kernel (provided no other dependencies are required) | +| **insmod** <module> | inserts a module into the kernel (provided no other dependencies are required) | 
-| **rmmod** <modul> | removes a module from the kernel (provided no other dependencies are required), **-v** detailed output | +| **rmmod** <module> | removes a module from the kernel (provided no other dependencies are required), **-v** detailed output | 
-| **depmod** (**-a**) / **depmod** <modul> | generates a list of dependencies of all/​specified modules in ///​lib/​modules/<​kernel_version>/​modules.dep//​ | +| **depmod** (**-a**) / **depmod** <module> | generates a list of dependencies of all/​specified modules in ///​lib/​modules/<​kernel_version>/​modules.dep//​ | 
-| **modprobe** <modul> | inserts a module into the kernel including all its dependencies,​ **-r** remove a modul, **-v** detailed output\\ ''#​ modprobe usbnet''​ |+| **modprobe** <module> | inserts a module into the kernel including all its dependencies,​ **-r** remove a module, **-v** detailed output\\ ''#​ modprobe usbnet''​ |
 | **runlevel** / **who -r** | prints the previous and current system runlevel / prints the current system runlevel and its time of launch | | **runlevel** / **who -r** | prints the previous and current system runlevel / prints the current system runlevel and its time of launch |
 | **systemctl list-units --type target**\\ (implemented in Red Hat Enterprise Linux 7) | prints the current system runlevel (currently loaded „target units“) | | **systemctl list-units --type target**\\ (implemented in Red Hat Enterprise Linux 7) | prints the current system runlevel (currently loaded „target units“) |
Last modified: 2019/04/12 19:06 by Miroslav Bernát

visits: