From owner-freebsd-questions Mon Apr 29 04:55:12 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA11719 for questions-outgoing; Mon, 29 Apr 1996 04:55:12 -0700 (PDT) Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id EAA11713 for ; Mon, 29 Apr 1996 04:55:02 -0700 (PDT) Received: by mail.EUnet.hu, id NAA26847; Mon, 29 Apr 1996 13:47:07 +0200 Received: by CoDe.CoDe.hu (MAA02545); Mon, 29 Apr 1996 12:08:15 GMT From: Gabor Zahemszky Message-Id: <199604291208.MAA02545@CoDe.CoDe.hu> Subject: Re: Smallest kernel ? To: terry@lambert.org (Terry Lambert) Date: Mon, 29 Apr 1996 12:08:15 +0000 (GMT) Cc: freebsd-questions@freebsd.org In-Reply-To: <199604262212.PAA28056@phaeton.artisoft.com> from "Terry Lambert" at Apr 26, 96 03:12:17 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > Perhaps just for the fun of it, I was trying to figure out what could > > be the smallest kernel I could get for a diskless system. > > By removing most things I managed to a 544.319 bytes kernel > > (some 70KB are symbols), although this has FFS and no WD/FD driver. > > NFS instead of FFS requires 100KB more. > > > > I was wondering, is there some option (apart from gzip) which can > > be turned on to produce a smaller kernel ? Especially for NFS, > > perhaps the 100KB are for both client & server, UDP and TCP code ? > > Strip the symbols. Once, I read that striping the kernel is not a good solution, because some programs (who, ps, etc) cannot work after it. Isn't it true for FreeBSD? -- Gabor Zahemszky -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky