Re: compressed kernel modules
From: M. Warner Losh (imp_at_bsdimp.com)
Date: 09/28/03
- Previous message: Dmitry Morozovsky: "Re: USB keyboard thoughts."
- In reply to: masta: "compressed kernel modules"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 28 Sep 2003 08:21:57 -0600 (MDT) To: masta@wifibsd.org
In message: <10569.12.238.113.137.1064709820.squirrel@mail.yazzy.org>
"masta" <masta@wifibsd.org> writes:
: Does the -CURRENT kldload(8), and/or loader(8), understand how to
: decompress gzip/bzip kernel modules? I'm assuming it is possible, but I
: haven't seen that done in the wild, or documented.
Not really. The boot loader loader can. Without help, kldload can't.
However, I have a small script that does a simple:
#!/bin/sh
cp /modules/$1.ko.gz /tmp
gunzip /tmp/$1.ko.gz
kldload /tmp/$1.ko
rm /tmp/$1.ko
Warner
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Dmitry Morozovsky: "Re: USB keyboard thoughts."
- In reply to: masta: "compressed kernel modules"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]