Add conv=osync to the boot flop. You know, this might explain those

mysterious rawrite problems! :-)
This commit is contained in:
Jordan K. Hubbard 1995-01-13 05:43:03 +00:00
parent b9937fcc84
commit 38862b2dcf

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.72 1995/01/12 12:30:05 jkh Exp $
# $Id: Makefile,v 1.73 1995/01/12 16:18:13 jkh Exp $
#
FLOPPY= fd0
@ -78,10 +78,14 @@ boot.flp:
disklabel -w -B \
-b ${DESTDIR}/usr/mdec/fdboot -s ${DESTDIR}/usr/mdec/bootfd \
/dev/r${FLOPPY} ${FDLABEL}
newfs -c 80 -b 4096 -f 512 -i 10000 -m 0 -o space /dev/r${FLOPPY}
newfs -c 80 -b 4096 -f 512 -i 9000 -m 0 -o space /dev/r${FLOPPY}
mount -o async /dev/${FLOPPY} ${MNT}
mkdir ${MNT}/dev ${MNT}/stand ${MNT}/mnt
.if !defined(EVIL_FLOPPY)
strip -x ${.CURDIR}/../sys/compile/GENERIC/kernel
.else
strip ${.CURDIR}/../sys/compile/GENERIC/kernel
.endif
cp ${.CURDIR}/../sys/compile/GENERIC/kernel ${MNT}/kernel
cp ${DESTDIR}/usr/mdec/sdboot ${DESTDIR}/usr/mdec/bootsd ${MNT}/stand
( cd ${DESTDIR}/dev ; \
@ -99,16 +103,16 @@ boot.flp:
install -m 400 -c ${.CURDIR}/../COPYRIGHT ${MNT}/COPYRIGHT
install -m 400 -c ${.CURDIR}/../share/FAQ/diskspace.FAQ \
${MNT}/DISKSPACE.FAQ
.endif
install -m 400 -c ${.CURDIR}/../share/FAQ/RELNOTES.FreeBSD \
${MNT}/RELNOTES.FreeBSD
.endif
install -m 400 -c ${.CURDIR}/../share/FAQ/TROUBLESHOOTING \
${MNT}/TROUBLESHOOTING
install -m 400 -c ${.CURDIR}/../share/FAQ/README-2.0 ${MNT}/README
touch ${MNT}/this_is_boot_flp
-umount ${MNT}
fsck /dev/r${FLOPPY}
dd if=/dev/r${FLOPPY} bs=${DDBS} count=${DDCOUNT} of=boot.flp
dd if=/dev/r${FLOPPY} bs=${DDBS} count=${DDCOUNT} conv=osync of=boot.flp
df -k /dev/r${FLOPPY}
cpio.flp: