rc.d script to load kernel modules
jhell at DataIX.net
Sun Jun 12 19:05:19 UTC 2011
On Sun, Jun 12, 2011 at 11:51:13AM -0700, Doug Barton wrote:
> On 6/12/2011 1:56 AM, Jason Hellenthal wrote:
> > Cutting modules out of the kernel in general does help speed up booting
> > but loading those same modules later in the boot process will just lead
> > you back to the same boot time.
> Loading modules via loader.conf is many times slower than doing it from
> disk after the system is partially booted. (As in, 2-3 seconds per
> module vs. nearly instantaneous for all 6.)
> I didn't offer my list as an example of what to do, I offered it as a
> syntax example. I would of course expect people to use appropriate
> discretion to load things in loader.conf that are necessary for boot.
> (Of course, the fact that people can easily get this wrong is a strike
> against the technique.)
Yes and such I was just using that as a basis for the discussion, agreed
technique is key.
Any opposition for keeping the syntax of loader.conf ?
I think this makes it easier for people to adjust their configs without
having to edit the list. Certainly less confusion if you say you can use
the same syntax for modules in loader.conf in rc.conf...
> There is no point in having an _enable for this script because if the
> kld_list is empty, nothing happens.
Yeah very true.
> Nothin' ever doesn't change, but nothin' changes much.
> -- OK Go
> Breadth of IT experience, and depth of knowledge in the DNS.
> Yours for the right price. :) http://SupersetSolutions.com/
"Unity can only be manifested by the Binary. Unity itself and the idea of Unity are already two." -- Buddha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 522 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110612/b08647db/attachment.pgp
More information about the freebsd-current