-# $OpenBSD: Makefile,v 1.19 2023/04/28 12:26:43 krw Exp $
+# $OpenBSD: Makefile,v 1.20 2023/04/28 18:14:59 krw Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
${FS}: bsd.gz
dd if=/dev/zero of=${FS} bs=512 count=${FSSIZE}
- vnconfig -v -t ${FSDISKTYPE} ${FS} > vnd
- echo '/ *' | disklabel -wAT- `cat vnd`
+ vnconfig -v ${FS} > vnd
+ disklabel -w `cat vnd` ${FSDISKTYPE}
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} -b 4096 -f 512 /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
objcopy -S -R .comment ${DESTDIR}/usr/mdec/fdboot ${.OBJDIR}/boot
-# $OpenBSD: Makefile,v 1.20 2023/04/28 12:26:43 krw Exp $
+# $OpenBSD: Makefile,v 1.21 2023/04/28 18:14:59 krw Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
${FS}: bsd.gz
dd if=/dev/zero of=${FS} bs=512 count=${FSSIZE}
- vnconfig -v -t ${FSDISKTYPE} ${FS} > vnd
- echo '/ *' | disklabel -wAT- `cat vnd`
+ vnconfig -v ${FS} > vnd
+ disklabel -w `cat vnd` ${FSDISKTYPE}
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} -b 4096 -f 512 /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
objcopy -S -R .comment ${DESTDIR}/usr/mdec/fdboot ${.OBJDIR}/boot