Date: Mon, 5 Nov 2001 23:54:11 +0100 (CET) From: Cyrille Lefevre <clefevre@citeweb.net> To: John Kozubik <john@kozubik.com> Cc: Dragon Fire <dragonfire820@mediaone.net>, freebsd-small@FreeBSD.ORG Subject: Re: Minimal System Message-ID: <200111052254.fA5MsB183019@gits.dyndns.org> In-Reply-To: <Pine.BSF.4.21.0111051039500.96461-100000@www.kozubik.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111052254.fA5MsB183019>
