From owner-freebsd-hackers@FreeBSD.ORG Sun Sep 28 07:22:37 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFC4E16A4B3 for ; Sun, 28 Sep 2003 07:22:37 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A32544027 for ; Sun, 28 Sep 2003 07:22:36 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9p1/8.12.9) with ESMTP id h8SEMWAD064128; Sun, 28 Sep 2003 08:22:33 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 28 Sep 2003 08:21:57 -0600 (MDT) Message-Id: <20030928.082157.55722541.imp@bsdimp.com> To: masta@wifibsd.org From: "M. Warner Losh" In-Reply-To: <10569.12.238.113.137.1064709820.squirrel@mail.yazzy.org> References: <10569.12.238.113.137.1064709820.squirrel@mail.yazzy.org> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: compressed kernel modules X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 14:22:37 -0000 In message: <10569.12.238.113.137.1064709820.squirrel@mail.yazzy.org> "masta" 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