MODULES(5)
๐ MODULES(5) ๐
ok so bestie, gather round, we're talking about /etc/modules โ the iconic little file that tells your kernel which modules to load at boot time. this is a File Formats Manual moment, and honestly? it's giving main character energy. ๐
โจ NAME โจ
/etc/modules โ kernel modules to load at boot time ๐ฆ
๐ธ DESCRIPTION ๐ธ
so here's the tea, bestie: the /etc/modules file contains the names of kernel modules that are gonna be loaded at boot time. and the way that it works is one per line โ literally one module name per line, no chaos, no drama, just vibes. ๐
ok but here's the part you need to know, and i mean it: options can only be specified using modprobe.d configuration files. like. you can NOT just shove options in here. that's not this file's job. /etc/modules is for names, modprobe.d is for options. know the difference, it's important. ๐ซถ
and lastly โ lines beginning with a # are ignored. so go off, write your little comments, nobody's judging, they're just โจignoredโจ. ๐
๐ EXAMPLE ๐
here's exactly what it looks like, no cap:
# /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
nf_nat_ftp
see? cute, clean, one module per line, comments doing their thing. slay. ๐
๐ SEE ALSO ๐
and that's the whole page, bestie!! this came to you straight from Debian GNU/Linux, Version 1.2, and it's the MODULES(5) era โ obsessed. go forth and load your modules responsibly. periodt. ๐โจ
๐ฆ where this page comes from
- debian bookworm: kmod 30+20221128-1
- ubuntu jammy: kmod 29-1ubuntu1
- ubuntu jammy: kmod 29-1ubuntu1.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms