Date: Thu, 31 Aug 1995 13:57:53 -0700 (PDT) From: Julian Elischer <julian@ref.tfs.com> To: jkh@time.cdrom.com (Jordan K. Hubbard) Cc: rgrimes@gndrsh.aac.dev.com, hackers@freebsd.org Subject: Re: kernel size Message-ID: <199508312057.NAA00679@ref.tfs.com> In-Reply-To: <11825.809900082@time.cdrom.com> from "Jordan K. Hubbard" at Aug 31, 95 01:14:42 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > > > > Already done! The crunched binary is, in turn, compressed. > > not in -current it isn't..... > > Say what? Where are you looking?? > > Jordan > I made one today look in the makefile.. release.8: write_mfs_in_kernel @cd ${.CURDIR} && $(MAKE) ckRELEASEDIR rm -rf ${RD}/mfsfd mkdir ${RD}/mfsfd cd ${RD}/mfsfd && \ mkdir -p dev mnt stand/help @cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=boot \ DIR=${RD}/mfsfd/stand ZIP=false ^^^^^^^^^ as opposed to the fixit.. release.10: @cd ${.CURDIR} && $(MAKE) ckRELEASEDIR rm -rf ${RD}/fixitfd mkdir ${RD}/fixitfd cd ${RD}/fixitfd && \ mkdir stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp ln -f ${RD}/kernels/GENERIC.kz ${RD}/fixitfd/kernel @cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=fixit \ DIR=${RD}/fixitfd/stand ZIP=true this would give us a 'little' more room.. at the moment, the limit is thte fact that the current GENERIC +FS DEcompresses to > 2MB but if we gzip the crunch file the decompressed size would shrink, but the compressed file would remain about the same.. and running gzipped executables can't share text segs, so we MIGHT run short or ram at run-time.. need to check it I guess. (but we'd gain 400k back as well) julian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508312057.NAA00679>