Date: Mon, 5 Nov 2001 10:47:50 -0800 (PST) From: John Kozubik <john@kozubik.com> To: Dragon Fire <dragonfire820@mediaone.net> Cc: freebsd-small@FreeBSD.ORG Subject: Re: Minimal System Message-ID: <Pine.BSF.4.21.0111051039500.96461-100000@www.kozubik.com> In-Reply-To: <001201c161fa$afa307e0$037d6041@ne.mediaone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Although this is somewhat of a black art, there are some easy ways to pare down a system. Here is a line of shell code that may help you: for f in `find / | grep ppp` ; do rm -rf $f ; done (you must be in /bin/sh for this to work) This line removes all files relating to ppp. You could put other strings like msdos, isdn, plip, etc. Obviously you should be careful - don't use the string 'nfs', since any file with the string 'confs' will also be deleted. However, once you nail down some functionality that you definitely won't be using (linux, msdos, ppp, slip, plip, readme, README, etc.) you can easily rip them out with this. Remember that just because you did not purposefully install items related to isdn, ppp, etc., does not mean there are not a lot of files in a newly loaded system related to those items. ----- John Kozubik - john@kozubik.com - http://www.kozubik.com On Wed, 31 Oct 2001, Dragon Fire wrote: > Hi Folks, > > I'm trying to make a minimal boot system on a compact flash, 64 MB. I have an IDE compact flash adapter so I'm sure I can treat the compact flash as a disk but where can I find a list of minimal files for creating a FreeBSD installation and how do I get the boot manager into the first sector. > > Any suggestions for the partition sizes etc... > > Any tips or links would be appreciated. > > Thanks in advance! > Paul > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0111051039500.96461-100000>