Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

modules(5) [osx man page]

MODULES(5)							File Formats Manual							MODULES(5)

/etc/modules - kernel modules to load at boot time DESCRIPTION
The /etc/modules file contains the names of kernel modules that are to be loaded at boot time, one per line. Arguments can be given in the same line as the module name. Lines beginning with a '#' are ignored. EXAMPLE
# /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that # should be loaded at boot time, one per line. Lines # beginning with "#" are ignored. w83781d 3c509 irq=15 nf_nat_ftp SEE ALSO
depmod(8) modprobe(8) modprobe.conf(5) Debian GNU/Linux Version 1.2 MODULES(5)

Check Out this Related Man Page

MODULES-LOAD.D(5)                                                 modules-load.d                                                 MODULES-LOAD.D(5)

modules-load.d - Configure kernel modules to load at boot SYNOPSIS
/etc/modules-load.d/*.conf /run/modules-load.d/*.conf /usr/lib/modules-load.d/*.conf DESCRIPTION
systemd-modules-load.service(8) reads files from the above directories which contain kernel modules to load during boot in a static list. Each configuration file is named in the style of /etc/modules-load.d/program.conf. Note that it is usually a better idea to rely on the automatic module loading by PCI IDs, USB IDs, DMI IDs or similar triggers encoded in the kernel modules themselves instead of static configuration like this. In fact, most modern kernel modules are prepared for automatic loading already. CONFIGURATION FORMAT
The configuration files should simply contain a list of kernel module names to load, separated by newlines. Empty lines and lines whose first non-whitespace character is # or ; are ignored. CONFIGURATION DIRECTORIES AND PRECEDENCE
Configuration files are read from directories in /etc/, /run/, and /lib/, in order of precedence. Each configuration file in these configuration directories shall be named in the style of filename.conf. Files in /etc/ override files with the same name in /run/ and /lib/. Files in /run/ override files with the same name in /lib/. Packages should install their configuration files in /lib/. Files in /etc/ are reserved for the local administrator, who may use this logic to override the configuration files installed by vendor packages. All configuration files are sorted by their filename in lexicographic order, regardless of which of the directories they reside in. If multiple files specify the same option, the entry in the file with the lexicographically latest name will take precedence. It is recommended to prefix all filenames with a two-digit number and a dash, to simplify the ordering of the files. If the administrator wants to disable a configuration file supplied by the vendor, the recommended way is to place a symlink to /dev/null in the configuration directory in /etc/, with the same filename as the vendor configuration file. If the vendor configuration file is included in the initrd image, the image has to be regenerated. EXAMPLE
Example 1. /etc/modules-load.d/virtio-net.conf example: # Load virtio-net.ko at boot virtio-net SEE ALSO
systemd(1), systemd-modules-load.service(8), systemd-delta(1), modprobe(8) systemd 237 MODULES-LOAD.D(5)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Please help me find out system information

I'm just getting started with unix and would like to know 1) how to tell how big the harddrive is 2) how to tell if there are multiple harddrive installed on the machine 3) a relitavely easy way to tell what programs are installed on the machine. I'm using Sun OS 5.6 Thanks (3 Replies)
Discussion started by: ViperD
3 Replies

2. UNIX for Dummies Questions & Answers

LWP module ?

my host run on a Free bsd server and i have a cgi script that requires LWP module, but i my host say that that module is installed, so i would like to know if the is a command because i have telnet access to know if the module or which modules are installed on my account (itīs that the script donīt... (4 Replies)
Discussion started by: Beto
4 Replies

3. UNIX for Dummies Questions & Answers

Mount in Mandrake

My friend is trying to mount a fat32 hd in Mandrake 8.0 and he is using this command with this result: mount -t vfat /dev/hdb1 /home/win mount: wrong fs type, bad option, bad superblock on /dev/hdb1, or too many mounted file systems I have never mounted a fat fs on a unix box so I am... (5 Replies)
Discussion started by: jwbrown
5 Replies

4. UNIX for Dummies Questions & Answers

<? phpinfo(); ?>

I had my my php working and and was using the above statement to run a php test page. I did not reboot, or restart httpd, but when i came back to play after a 6 day vacation i found that the page no longer displayed the php info. The statement only shows <? phpinfo(); ?> as a standard html. I... (4 Replies)
Discussion started by: macdonto
4 Replies

5. SuSE

How do I load kernel modules so BestCrypt will work

I'm using SuSE 9.2 Pro and trying to use a program call BestCrypt. I get it installed and type bctool and it says "Kernel modules not loaded". If you need to know anymore about it you can find it at linux:/home/chris/Desktop/Xtheater-0.9.2 #... (6 Replies)
Discussion started by: CTroxtell21
6 Replies

6. Solaris

How to check for installed Perl modules on solaris?

Is there a quick way to check for installed perl modules on a solaris server? I found using perl -e "use Crypt::DES" will work for checking one package at a time. I was wondering if there was anything else out there? (4 Replies)
Discussion started by: jsandova
4 Replies

7. Solaris

How to show memory modules on 420R

I'm trying to determine what memory modules the box has so they can be ordered from a 3rd-party source and be replaced in-house (the box is not under warranty) I have a 420R running Solaris 9. # uname -a SunOS agatlsun04 5.9 Generic_118558-36 sun4u sparc SUNW,Ultra-80 Recently got a... (4 Replies)
Discussion started by: agcodba
4 Replies

8. Shell Programming and Scripting

How to install perl modules

Hi. i installed perl in my D: drive(windows xp).When im trying to install module( or any module for tat matter ) it is getting installed in 'c:\temp\please run installed script' folder no matter from where ever i run the ppm installation.The path variable is set to... (3 Replies)
Discussion started by: Anuj8584
3 Replies

9. Shell Programming and Scripting

Unable to install perl XML and EXCEL modules in windows XP.

Hi, I am using perl 5.12. I want to install XML modules and Excel modules which is from perl in windows. I am using ppm to install these perl modules. My proxy is this: (with http in the beginning) I used this to set but i unable to download any pakage, Using... (5 Replies)
Discussion started by: vanitham
5 Replies

10. Programming

makefile for mix of C and C++ modules

I am trying to come up with a makefile where the target is linked with object files produced by C and C++ sources. My setup is Ubuntu/gcc: $ uname -a Linux srvr1 2.6.24-24-server #1 SMP Fri Sep 18 17:24:10 UTC 2009 i686 GNU/Linux gcc version 4.2.4 $ cat main.cpp #include <iostream>... (6 Replies)
Discussion started by: migurus
6 Replies

11. Shell Programming and Scripting

perl modules installation

I have installed perl in windows. Now I would like to install spreadsheet::xlsx & DateTime::Format::Excel modules(also few more) at a time instead of installing them seperately. Could you please let me know how to install more than 1 module as a batch file in windows OS ? Thanks in... (5 Replies)
Discussion started by: giridhar276
5 Replies

12. Programming

How to automatically install all modules required by a script from CPAN?

Having a how can I automatically download from CPAN all required modules and install and update as required? Something like "emerge -uDNav world" for the perl? ---------- Post updated at 05:38 PM ---------- Previous update was at 05:28 PM ---------- Doesn't matter I've found it ... (6 Replies)
Discussion started by: Tribe
6 Replies

13. Hardware

Linux Kernel Modules

Hey everyone. I have a question, doing an lsmod gives me a list of all the loaded modules for my system. But how did they know to load? my /etc/modules files is empty, so how did these modules know to load themselves on boot time? If I were to take this hard drive to another computer with a... (6 Replies)
Discussion started by: Lost in Cyberia
6 Replies

14. UNIX for Beginners Questions & Answers

Missing Modules After Compiling Kernel

I'm a little embarrassed after all these years I've never really successfully compiled my own kernel. I used this guide to make the following files: linux-headers-5.1.9_5.1.9-1_amd64.deb linux-image-5.1.9_5.1.9-1_amd64.deb linux-libc-dev_5.1.9-1_amd64.deb When I first booted into this... (4 Replies)
Discussion started by: Azrael
4 Replies