modules(7)

πŸ“¦
version 0.63.2 Β· 3 versions
, in alpine 3.24

πŸŽ€ modules(7) β€” the one in Miscellaneous Information Manual, bestie πŸŽ€

okay so picture this: it's early startup, everything's still booting, and somebody has to go wake up the kernel modules. that somebody is modules. she's the literal main character of the boot sequence and she's been doing this since before you were born. periodt. πŸ’…


✨ NAME ✨

modules β€” loads explicitly defined kernel modules 🧚

like, the ones you said to load. no guessing, no vibes-based loading. you wrote it down, she loads it. iykyk.


🌸 DESCRIPTION 🌸

the modules service loads explicitly defined kernel modules during early startup. highkey the most important five minutes of the whole boot, and she shows up on time every time. ⭐

and bestie, she's enabled by default β€” meaning she's already doing this for you right now, you just didn't know. iconic behavior tbh. πŸ‘‘

the modules service will read config files matching the following patterns:

  • /lib/modules-load.d/*.conf
  • /usr/lib/modules-load.d/*.conf
  • /etc/modules
  • /etc/modules-load.d/*.conf
  • /run/modules-load.d/*.conf

note the order, because this part is so important πŸ”₯ if multiple files with the same name are found in different locations, only the one in the latter location is processed.

like, she's not doing a whole merge situation, she's not reading both and comparing notes β€” she just takes the one from the later spot in that list and moves on. later in the list wins, that's the whole rule. no cap. πŸ€·β€β™€οΈ

πŸ¦‹ FILE FORMAT πŸ¦‹

files must contain exactly one module name per line. one. per. line. don't be doing two, she will not be decoding that for you πŸ’€

empty lines and lines starting with # are ignored. so go ahead, comment away, journal in there if you want, she literally does not care 🌈


πŸ’œ SEE ALSO πŸ’œ

  • modprobe(8) β€” her cousin who handles the whole one-at-a-time from the command line thing. obsessed with them both, honestly 🫢

fr fr though bestie: this is the whole page, nothing hidden, nothing skipped. every path, every rule, every wildcard. you're welcome. πŸ“

✿ Λ–βΊβ€§β‚Š and that's a wrap, angel Λšο½‘β‹†ΰ­¨ΰ­§Λš β€” this lil cutie of a page is brought to you by the Miscellaneous Information Manual, dated 2026-06-14. go forth and load responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from