Opened 14 months ago

Closed 6 months ago

#701 closed Feature Request (invalid)

kernel modules could be loaded automagically

Reported by: mjollnirpaul Owned by: kris
Priority: minor Milestone:
Component: Misc Version: 9.1-RC3
Keywords: kernel modules Cc: trac-bugs@…

Description

  1. By default, the system starts many unneded modules, e.g. if I do not have encrypted drives, no mirrors, no ufs, etc., why are these modules loaded anyway?
  2. Modules shall be loaded on-demand, when-needed automagically.
  3. Is it a good idea to have an initial RAM-disk image containing the kernel modules and some logic to detect which modules to load like in Linux?

Change History (2)

comment:1 Changed 6 months ago by joshms

  • Owner set to kris

comment:2 Changed 6 months ago by kris

  • Resolution set to invalid
  • Status changed from new to closed

We've already streamlined us down to only a few modules that are needed, mainly for making sure that we can mount root, so we need ZFS,ELI and others. (Linux compat as well, so we can do any linprocfs stuff in /etc/fstab)

Feel free to take a look at the current setup. Everything else like UFS is in the kernel.

https://github.com/pcbsd/pcbsd/blob/master/src-sh/pc-extractoverlay/desktop-overlay/boot/loader.conf.pcbsd

Note: See TracTickets for help on using tickets.