From <https://man.freebsd.org/cgi/man.cgi?query=loader&sektion=8&manpath=freebsd-release#DESCRIPTION>: > … responsible for bringing the kernel, kernel modules and other files > into memory. … That's not sole responsibility; and SEE ALSO makes no mention of hier(7), rc(8) or rc.conf(5). From the latter: > … kld_list … Loading modules at this point in the boot process is > much faster than doing it via /boot/loader.conf for those modules > not necessary for mounting local disks. … A simple improvement to the description or loader(8) should clarify that responsibility is for these kernel modules: /boot/firmware/ /boot/kernel/ – but not these kernel modules: /boot/modules/
In reply to Mina Galić from bug 272129 comment 9 I took a hier(7) perspective: /boot/ … defaults/ … dtb/ … efi/ … firmware/ loadable kernel modules … kernel/ pure kernel … and kernel modules modules/ third-party loadable kernel modules, … … … Whilst D25601 was rc-oriented, it is true (for my use cases) that the majority of kernel modules are in /boot/kernel/ … % sudo rm /boot/modules/*.pkgsave % ls /boot/firmware % ls /boot/kernel % ls /boot/modules
(In reply to Graham Perrin from comment #0) > … A simple improvement to the description or loader(8) … Correction: > … A simple improvement to the description of loader(8) …
(In reply to Graham Perrin from comment #0) > … not sole responsibility; … That's not quite what I meant, but I'll not attempt to correct the meaning in Bugzilla. > … A simple improvement … I'll make a pull request.
(In reply to Graham Perrin from comment #0) I don't see why loader is not responsible for /boot/modules
(In reply to Ed Maste from comment #4) Indeed, that's part of what I wanted to correct in comment 0