From owner-cvs-all Tue Sep 18 7:52:44 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 942BF37B403; Tue, 18 Sep 2001 07:52:36 -0700 (PDT) Received: (from sobomax@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f8IEqap69248; Tue, 18 Sep 2001 07:52:36 -0700 (PDT) (envelope-from sobomax) Message-Id: <200109181452.f8IEqap69248@freefall.freebsd.org> From: Maxim Sobolev Date: Tue, 18 Sep 2001 07:52:36 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/loader Makefile conf.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG sobomax 2001/09/18 07:52:36 PDT Modified files: sys/boot/i386/loader Makefile conf.c Log: Add support for loading bzip2-compressed kernels and modules. This support is turned off by default and could be enabled by defining LOADER_BZIP2_SUPPORT make variable. Also make gzip support optional (turned on by default) - it could be turned off via LOADER_NO_GZIP_SUPPORT make variable. Please note, that due to limit on the amount of memory available to the loader(8), it is possible to load modules/kernels compressed with the smallest block size supported by the bzip2 - 100k (`-1' bzip2(1) option), however even in this mode bzip2(1) usually provides better compression ratio than gzip(1) in its best compression mode. MFC after: 1 month Revision Changes Path 1.54 +8 -1 src/sys/boot/i386/loader/Makefile 1.17 +6 -1 src/sys/boot/i386/loader/conf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message