diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-10-10 05:06:44 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-10-10 05:06:44 +0000 |
commit | 663605e50b6da575a248479acd61059ba8cd70be (patch) | |
tree | a05b2048f2e4991eaaefc27b9445520c425284d5 | |
parent | a1e11f4c954ed8021103bc1b47b9cb24c9cba21b (diff) | |
download | FreeBSD-src-663605e50b6da575a248479acd61059ba8cd70be.zip FreeBSD-src-663605e50b6da575a248479acd61059ba8cd70be.tar.gz |
You can now specify the type of floppy you want built (floppy3 or floppy5)
with a Makefile override. The default is floppy5 since all distribution
floppies must be <= 1.2Mb so that every one can use them.
If you want to make 1.44MB floppies with more space on them do a
setenv FLOPPY floppy3
before running make.
>From: "Jordan K. Hubbard" <jkh%whisker.lotus.ie@dec4ie.ieunet.ie>
Date: Sun, 10 Oct 1993 05:11:51 -0700
I went to make myself some boot floppies straight off the dist
today and ran into the fact that I'm using a 3.5" floppy as my drive A,
so I did the following (you can still use floppy5 as your default -
I just have it set to floppy3 for my machine).
-rw-r--r-- | etc/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/etc/Makefile b/etc/Makefile index aeb5afd..447b2d9 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -31,6 +31,7 @@ FREEBSD= CONTRIB.386BSD CONTRIB.FreeBSD RELNOTES.FreeBSD ${COPYRIGHT} # Floppy drive name and files for building FreeBSD Floppies FLOPPY?= fd0 MOUNT?= /mnt +FLOPPY_TYPE?= floppy5 # MDEC= usr/mdec/bootfd usr/mdec/fdboot MDEC+= usr/mdec/bootsd usr/mdec/sdboot @@ -184,8 +185,10 @@ kcopy-kernels: ../sys/i386/conf/GENERICAH ../sys/i386/conf/GENERICBT ${DESTDIR}/386bsd.GENERICBT) kcopy-floppy: - disklabel -w -r ${FLOPPY} floppy5 /usr/mdec/fdboot /usr/mdec/bootfd - newfs -b 4096 -c 80 -f 512 -i 16384 -m 0 -o space r${FLOPPY}a floppy5 + disklabel -w -r ${FLOPPY} ${FLOPPY_TYPE} \ + /usr/mdec/fdboot /usr/mdec/bootfd + newfs -b 4096 -c 80 -f 512 -i 16384 -m 0 -o space \ + r${FLOPPY}a ${FLOPPY_TYPE} mount /dev/${FLOPPY}a ${MOUNT} chown root.wheel ${MOUNT}/. chmod 755 ${MOUNT}/. @@ -225,8 +228,10 @@ kcopy-bt-floppy: >${RELEASEDIR}/floppies/kcopy-bt-floppy.gz filesystem-floppy: - disklabel -w -r ${FLOPPY} floppy5 /usr/mdec/fdboot /usr/mdec/bootfd - newfs -b 4096 -c 80 -f 512 -i 10240 -m 0 -o space r${FLOPPY}a floppy5 + disklabel -w -r ${FLOPPY} ${FLOPPY_TYPE} \ + /usr/mdec/fdboot /usr/mdec/bootfd + newfs -b 4096 -c 80 -f 512 -i 10240 -m 0 -o space \ + r${FLOPPY}a ${FLOPPY_TYPE} mount /dev/${FLOPPY}a ${MOUNT} chown root.wheel ${MOUNT}/. chmod 755 ${MOUNT}/. @@ -258,8 +263,10 @@ filesystem-floppy: >${RELEASEDIR}/floppies/filesystem-floppy.gz cpio-floppy: - disklabel -w -r ${FLOPPY} floppy5 /usr/mdec/fdboot /usr/mdec/bootfd - newfs -b 4096 -c 80 -f 512 -i 65536 -m 0 -o space r${FLOPPY}a floppy5 + disklabel -w -r ${FLOPPY} ${FLOPPY_TYPE} \ + /usr/mdec/fdboot /usr/mdec/bootfd + newfs -b 4096 -c 80 -f 512 -i 65536 -m 0 -o space \ + r${FLOPPY}a ${FLOPPY_TYPE} mount /dev/${FLOPPY}a ${MOUNT} chown root.wheel ${MOUNT}/. chmod 755 ${MOUNT}/. |