From owner-freebsd-small Mon Nov 5 14:54:30 2001 Delivered-To: freebsd-small@freebsd.org Received: from smtp.noos.fr (descartes.noos.net [212.198.2.74]) by hub.freebsd.org (Postfix) with ESMTP id 4EDFC37B405 for ; Mon, 5 Nov 2001 14:54:17 -0800 (PST) Received: (qmail 37272680 invoked by uid 0); 5 Nov 2001 22:54:15 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.229.145]) (envelope-sender ) by 212.198.2.74 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 5 Nov 2001 22:54:15 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id fA5MsB183019; Mon, 5 Nov 2001 23:54:11 +0100 (CET) (envelope-from root) Message-Id: <200111052254.fA5MsB183019@gits.dyndns.org> Subject: Re: Minimal System In-Reply-To: To: John Kozubik Date: Mon, 5 Nov 2001 23:54:11 +0100 (CET) Cc: Dragon Fire , freebsd-small@FreeBSD.ORG Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM1005000849-82902-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --ELM1005000849-82902-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII John Kozubik wrote: > > 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) find itself would suffice w/o overhead : find / -name '*ppp*' -delete > On Wed, 31 Oct 2001, Dragon Fire wrote: > > > 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. try to rebuild a system yourself w/ almost all NO* variables defined in /etc/make.conf. see the attached file for a subset of them... Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net --ELM1005000849-82902-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: attachment; filename=src.conf Content-Description: src.conf # # @(#) make:src.conf (clefevre@citeweb.net) Sun Sep 23 11:56:57 CEST 2001 # .if defined(IS_SRC) # src # NOCLEAN= true #NOCLEANDIR= true .if defined(IS_ALT) NOMAN= true .endif # bin # .if defined(IS_ALT) NO_TCSH= true .endif # etc # SENDMAIL_MC= /etc/mail/gits.mc #SENDMAIL_M4_FLAGS= -D_FFR_TLS_O_T #NO_MAKEDEV= true # games # .if defined(IS_ALT) NOGAMES= true #NO_CVS= true .endif # gnu # .if defined(IS_ALT) NOPERL= true .endif # gnu/usr.bin/binutils # .if defined(IS_ALT) NO_GDB= true .endif # gnu/usr.bin/cc # #NO_CPP= true .if defined(IS_ALT) NO_CXX= true NO_FORTRAN= true NO_OBJC= true .endif # gnu/usr.bin/groff # PAGE= A4 # gnu/usr.bin/perl # #ENABLE_SUIDPERL= true # kerberos # .if !defined(IS_ALT) MAKE_KERBEROS4=true MAKE_KERBEROS5=true .endif # lib # .if defined(IS_ALT) NOLIBC_R= true .endif # lib/compat # .if !defined(IS_ALT) COMPAT1X= true COMPAT20= true COMPAT21= true COMPAT22= true COMPAT3X= true COMPAT4X= true .endif # gnu/lib/libdialog # lib/libncurses # #NOHTML= true # # release # CHROOTDIR= /usr/release BUILDNAME= 4.2-STABLE RELEASETAG= RELENG_4 CVSROOT?= /home/ncvs LOCAL_PATCHES= $(CVSROOT)/patches LOCAL_SCRIPT= $(CVSROOT)/scripts #NODOC= true #NOPORTREADMES= true #NOPORTS= true #NOSRC= true # secure # #ENABLE_SUID_SSH= true #NODESCRYPTLINKS= true .if defined(IS_ALT) NOCRYPT= true NOSECURE= true NO_OPENSSH= true NO_OPENSSL= true NO_DESCRYPT= true .endif # share # #NOSHARE= true .if defined(IS_ALT) NO_SHAREDOCS= true .endif NO_TERMINFO= true # # sys # BOOTWAIT= 30000 KERNCONF?= CUSTOM GENERIC MODULES_WITH_WORLD=true #NO_KERNELCONFIG= true NO_KERNELCLEAN= true #NO_KERNELDEPEND= true #NO_MAKEDEV= true #NO_MODULES= true #NO_MODULES_OLD=true #NOFORTH= true # usr.bin/doscmd # #NO_X= true # usr.bin/lex # #NOLIB= true # libexec/ftpd # usr.bin/{login,passwd} # #NOPAM= true # # usr.sbin # .if defined(IS_ALT) NO_BIND= true NO_I4B= true NO_MAILWRAPPER= true NO_SENDMAIL= true NO_LPR= true NOUUCP= true .endif # usr.sbin/ppp # #PPP_NOSUID= true #NOALIAS= true #NOI4B= true #NOINET6= true #NOKLDLOAD= true #NONAT= true #NONETGRAPH= true #NORADIUS= true #NOSUID= true # usr.sbin/top # TOP_TABLE_SIZE= 101 # usr.sbin/traceroute # #NOIPSEC= true .endif --ELM1005000849-82902-0_ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: attachment; filename=bsd.conf Content-Description: bsd.conf # # @(#) make:bsd.conf (clefevre@citeweb.net) Sun Sep 23 11:56:57 CEST 2001 # # bsd.dep.mk # #NOTAGS= true # bsd.doc.mk # USE_GROFF_HTML= true PRINTERDEVICE= latin1 #HTML_SPLIT= no .if (defined(PRINTERDEVICE) && ${PRINTERDEVICE} == "html") || defined(IS_OBSOLETE) NODOCCOMPRESS= true .endif # bsd.info.mk # DVIPS= $(LOCALDIR)/bin/dvips DVIPS2ASCII= $(LOCALDIR)/bin/dvips2ascii INFO2HTML= $(LOCALDIR)/bin/info2html TEX= $(LOCALDIR)/bin/tex .if defined(IS_SRC) && !defined(IS_DOC) FORMATS= info # html latin1 .endif .if defined(IS_ALT) NOINFO= true .endif #NOINFOCOMPRESS= true # bsd.kmod.mk # # ... # bsd.lib.mk # #NOPIC= true NOPROFILE= true #NOEXTRADEPEND= true #NOFCSCHG= true # bsd.libnames.mk # #NOSHARED= true # bsd.man.mk # .if defined(IS_ALT) NOMAN= true .endif #NOMANCOMPRESS= true #NOMLINKS= true # bsd.obj.mk # #NOOBJ= true # bsd.prog.mk # # ... # bsd.sgml.mk # #NOSGMLCOMPRESS= true --ELM1005000849-82902-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message