Date: Sun, 28 Sep 2003 08:21:57 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: masta@wifibsd.org Cc: freebsd-hackers@freebsd.org Subject: Re: compressed kernel modules Message-ID: <20030928.082157.55722541.imp@bsdimp.com> In-Reply-To: <10569.12.238.113.137.1064709820.squirrel@mail.yazzy.org> References: <10569.12.238.113.137.1064709820.squirrel@mail.yazzy.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030928.082157.55722541.imp>