What is “modloop” option in Alpine?

1 post / 0 new
#1 Sat, 2018-03-24 15:06
timfayz
  • timfayz's picture
  • Offline
  • Last seen: 1 day 23 hours ago
  • Joined: 2018-01-19

I'm trying to understand what is the difference of making Alpine installation medium as read-only type (LiveCD) and as a standard disk mode (where the OS state can be saved). I've seen the modloop option when the author of this article (https://wiki.alpinelinux.org/wiki/Create_UEFI_boot_USB) configured loader entries for UEFI boot mode:

Contents of loader/entries/alpine.conf
title    Alpine Linux
linux    /boot/vmlinuz-hardened
initrd   /boot/initramfs-hardened
options  modloop=/boot/modloop-hardened modules=loop,squashfs,sd-mod,usb-storage quiet

And the question is how options listed in this stanza modloop=/boot/modloop-hardened modules=loop,squashfs,sd-mod relate to each other and what do they mean?