From owner-freebsd-small@FreeBSD.ORG Tue Jun 15 00:14:16 2004 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A881216A4CE for ; Tue, 15 Jun 2004 00:14:16 +0000 (GMT) Received: from web53303.mail.yahoo.com (web53303.mail.yahoo.com [206.190.39.232]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D10643D31 for ; Tue, 15 Jun 2004 00:14:16 +0000 (GMT) (envelope-from non_secure@yahoo.com) Message-ID: <20040615001408.69754.qmail@web53303.mail.yahoo.com> Received: from [24.94.23.114] by web53303.mail.yahoo.com via HTTP; Mon, 14 Jun 2004 17:14:08 PDT Date: Mon, 14 Jun 2004 17:14:08 -0700 (PDT) From: Joe Schmoe To: freebsd-small@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Paring down a FreeBSD system for flash drive use ? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 00:14:16 -0000 Hello, I would like to fit a FreeBSD 4.10 system (not pico or anything like that) onto a 16 megabyte IDE flash drive. I am having reasonable success doing this ... I load FreeBSD with sysinstall onto a normal hard drive, then boot it up and start deleting a lot of things and stripping out things, and when I am done I tar it all up and then put it onto the flash drive with the FIXIT floppy. So far so good. The problem is, my methods for paring down the system are extremely brutish. Basically I use the custom menu in sysinstall and only install a bare minimum of items, but even then I have a ton of garbage on the system that I never needed, and certainly never selected in sysinstall - but they are part of the base system so I get them anyway. Files having to do with ISDN and PPP and all sorts of libraries, etc. So I basically just walk around the system deleting everything that looks like it is unneeded - sometimes going so far as: find / -name '*ppp*' -delete Is there a better strategy ? Is there some rational way I can get an even more minimal install than the minimal install I create from the custom menu in sysinstall ? That is, instead of deciding that I don't need PPP, and then going around deleting everything to do with PPP, is there a way to just not have PPP installed in the first place ? thanks. --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger