Increase size of MFS filesystem. (You need to remake release.3)

Remove unused devices (*[sw]d*[bdefgh]).
Dont gzip boot_crunch. (This SAVES space on a 4 MB machine, since the
file can be segment can be paged from now.
This (with the kzip patch) makes a 4M machine boot and run again.
Margin in my build is 22 blocks and 9 inodes.
I will look at tgz'ing the help files, we need that.
This commit is contained in:
Poul-Henning Kamp 1995-05-29 01:28:21 +00:00
parent fdb4b4b383
commit b82e26f63a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8826

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.186 1995/05/28 07:04:36 phk Exp $
# $Id: Makefile,v 1.187 1995/05/29 00:49:52 jkh Exp $
#
# How to roll a release:
#
@ -44,8 +44,8 @@ ZIPNSPLIT= gzip --no-name -9 -c | split -b 240640 -
# Size of the mfs to put in the kernel we boot.
# You want to keep this as small as possible, it costs dearly in RAM.
BOOTMFSSIZE= 700
MFSINODE= 40000
BOOTMFSSIZE= 1075
MFSINODE= 70000
# Things which will get you into trouble if you change them
DISTRIBUTIONS= bin ${EXTRA_DISTS}
@ -321,12 +321,13 @@ release.8: write_mfs_in_kernel
cd ${RD}/mfsfd && \
mkdir -p dev mnt stand/help
@cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=boot \
DIR=${RD}/mfsfd/stand ZIP=true
DIR=${RD}/mfsfd/stand ZIP=false
( cd ${RD}/trees/bin/dev && \
ls console tty ttyv0 ttyv1 ttyv2 ttyv3 null zero \
*[sw]d* cuaa[01] fd[01] rfd[01] \
cd0a mcd0a scd0a matcd0a rst0 ft0 rwt0 | \
cpio -dump ${RD}/mfsfd/dev )
( cd ${RD}/mfsfd/dev && rm -f *[sw]d*[bdefgh] )
cd ${RD}/trees/bin && ls ${BOOT1} | cpio -dump ${RD}/mfsfd/stand
tar --exclude CVS -cf - -C ${.CURDIR}/sysinstall help | \
tar xvf - -C ${RD}/mfsfd/stand