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).
This commit is contained in:
parent
156812b7e4
commit
8bf5ce9d18
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=568
19
etc/Makefile
19
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}/.
|
||||
|
Loading…
Reference in New Issue
Block a user