COPY-MODLOOP(8)
π copy-modloop(8) β like, the system manager's manual bestie
okay so welcome to copy-modloop, a page from the System Manager's Manual section 8 (that's the admin-tools girlies β¨). pull up a chair, grab a boba, and lemme tell you about this tiny little script that does one job and does it beautifully.
β¨ NAME β¨
copy-modloop β literally just copies kernel modules from modloop π
β¨ SYNOPSIS β¨
copy-modloop [-h]
that's it. that's the whole vibe check. one optional flag, no drama π
β¨ DESCRIPTION β¨
okay so here's the tea π: copy-modloop copies kernel modules from the modloop loopback device over to /lib/modules, and then it unmounts the modloop. boom. done. iconic behaviour, no notes.
where you'll actually see this queen in action: on Alpine Live ISO images, to make the kernel modules persistent after a disk installation. like, you install to disk, and you want your modules to still be there after reboot? yeah. that's her moment. main character energy fr fr π
β οΈ important caveat bestie, do not skip this: the modloop service must be running when the script starts. no service, no copy, no slay. and heads up β the script stops the modloop service after it's done copying the modules. so it's a one-way trip. she copies, she cleans up, she leaves. periodt.
β¨ OPTIONS β¨
-hβ display usage information and exit. your classic "wait what does this do again" button π«Ά
β¨ EXIT STATUS β¨
0β success! she ate, no crumbs, everything worked π- non-zero β something went wrong π an error occurred, or the modloop service wasn't started in the first place. yeah. that second one. that's the one that gets you.
β¨ SEE ALSO β¨
modloop(8)setup-disk(8)setup-alpine(8)
the whole friend group honestly πΈ go read them, they're all valid.
β¨ AUTHORS β¨
Natanael Copa <ncopa@alpinelinux.org> and others π§ (yes, "and others" β the group chat of contributors, iykyk)
okay that's the whole page, go be persistent with your modules bestie π
β written under the Alpine Linux banner, dated 2026-06-09, filed as COPY-MODLOOP(8). mwah π π
π¦ where this page comes from
- alpine 3.24: alpine-conf-doc 3.22.0-r0 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms