We don't need to manually flush the buffer cache after ``vnconfig -u''

anymore.
This commit is contained in:
bad 1998-01-26 23:50:54 +00:00
parent e73453eaf8
commit 4da46852f5
14 changed files with 14 additions and 37 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.1 1997/11/17 09:47:11 cjs Exp $ # $NetBSD: Makefile.inc,v 1.2 1998/01/26 23:50:54 bad Exp $
# TOP is assumed to be defined by Makefile including this one. # TOP is assumed to be defined by Makefile including this one.
@ -47,7 +47,6 @@ all: netbsd.ram.gz
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /bin/* /sbin/* /usr/lib/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 1997/12/22 00:39:29 cjs Exp $ # $NetBSD: Makefile,v 1.3 1998/01/26 23:50:56 bad Exp $
TOP= ${.CURDIR}/.. TOP= ${.CURDIR}/..
@ -50,13 +50,11 @@ all: ${AUXTARGETS} ${CBIN}
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_DEV} -vnconfig -u ${VND_DEV}
-/bin/rm -f ${IMAGE} -/bin/rm -f ${IMAGE}
cat /*bin/* > /dev/null
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.10 1997/06/23 21:18:34 thorpej Exp $ # $NetBSD: Makefile.inc,v 1.11 1998/01/26 23:50:58 bad Exp $
# TOP is assumed to be defined by Makefile including this one. # TOP is assumed to be defined by Makefile including this one.
@ -32,7 +32,6 @@ all: ${CBIN}
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_DEV} vnconfig -u ${VND_DEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.2 1997/06/23 21:19:53 thorpej Exp $ # $NetBSD: Makefile.inc,v 1.3 1998/01/26 23:50:59 bad Exp $
# TOP is assumed to be defined by Makefile including this one. # TOP is assumed to be defined by Makefile including this one.
@ -31,7 +31,6 @@ all: ${CBIN}
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_DEV} vnconfig -u ${VND_DEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 1997/10/18 07:45:00 mark Exp $ # $NetBSD: Makefile,v 1.3 1998/01/26 23:51:01 bad Exp $
TOP= ${.CURDIR}/.. TOP= ${.CURDIR}/..
@ -49,13 +49,11 @@ all: ${AUXTARGETS} ${CBIN}
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_CDEV} -vnconfig -u ${VND_CDEV}
-/bin/rm -f ${IMAGE} -/bin/rm -f ${IMAGE}
cat /*bin/* > /dev/null
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -D ${TOP}/../.. -L ${DESTDIR}/usr/lib ${.ALLSRC} crunchgen -D ${TOP}/../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.9 1997/11/29 21:19:01 perry Exp $ # $NetBSD: Makefile.inc,v 1.10 1998/01/26 23:51:03 bad Exp $
# TOP is assumed to be defined by Makefile including this one. # TOP is assumed to be defined by Makefile including this one.
@ -47,7 +47,6 @@ all: netbsd.ram.gz
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
/usr/mdec/installboot -v -f /usr/mdec/biosboot.sym ${VND_RDEV} /usr/mdec/installboot -v -f /usr/mdec/biosboot.sym ${VND_RDEV}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 1997/11/29 21:19:05 perry Exp $ # $NetBSD: Makefile,v 1.6 1998/01/26 23:51:05 bad Exp $
TOP= ${.CURDIR}/.. TOP= ${.CURDIR}/..
@ -49,13 +49,11 @@ all: ${AUXTARGETS} ${CBIN}
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_DEV} -vnconfig -u ${VND_DEV}
-/bin/rm -f ${IMAGE} -/bin/rm -f ${IMAGE}
cat /*bin/* > /dev/null
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.4 1997/11/29 21:19:06 perry Exp $ # $NetBSD: Makefile.inc,v 1.5 1998/01/26 23:51:06 bad Exp $
# TOP is assumed to be defined by Makefile including this one. # TOP is assumed to be defined by Makefile including this one.
@ -34,13 +34,11 @@ all: ${AUXTARGETS} ${CBIN}
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_DEV} -vnconfig -u ${VND_DEV}
-/bin/rm -f ${IMAGE} -/bin/rm -f ${IMAGE}
cat /*bin/* > /dev/null
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.16 1997/09/22 21:33:31 scottr Exp $ # $NetBSD: Makefile,v 1.17 1998/01/26 23:51:07 bad Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -50,7 +50,6 @@ all: ${CBIN}
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_DEV} vnconfig -u ${VND_DEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 1997/12/17 22:13:32 scw Exp $ # $NetBSD: Makefile,v 1.2 1998/01/26 23:51:09 bad Exp $
TOP= ${.CURDIR}/.. TOP= ${.CURDIR}/..
@ -46,13 +46,11 @@ ${IMAGE}: ${TREE} ${LISTS} ${CBIN}
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_CDEV} -vnconfig -u ${VND_CDEV}
-/bin/rm -f ${IMAGE} -/bin/rm -f ${IMAGE}
cat /*bin/* > /dev/null
# Do not delete this if I change my mind and kill make... # Do not delete this if I change my mind and kill make...
.PRECIOUS: ${IMAGE} .PRECIOUS: ${IMAGE}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.8 1997/12/25 09:16:28 matthias Exp $ # $NetBSD: Makefile.inc,v 1.9 1998/01/26 23:51:10 bad Exp $
# TOP is assumed to be defined by Makefile including this one. # TOP is assumed to be defined by Makefile including this one.
@ -41,7 +41,6 @@ all: netbsd.gz
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
-yes|bim -c init -c "add ${MDEC}/boot boot" -c "default 0" \ -yes|bim -c init -c "add ${MDEC}/boot boot" -c "default 0" \
-c "exit" ${.OBJDIR}/${IMAGE} 2>/dev/null >/dev/null -c "exit" ${.OBJDIR}/${IMAGE} 2>/dev/null >/dev/null
@ -69,7 +68,6 @@ ramdisk.fs: ${CBIN} ${LISTS}
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
.ifndef SD .ifndef SD
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
.else .else
dd if=/dev/${SD} of=${.TARGET} bs=128k count=16 dd if=/dev/${SD} of=${.TARGET} bs=128k count=16
.endif .endif
@ -79,7 +77,6 @@ unconfig:
umount -f ${MOUNT_POINT} umount -f ${MOUNT_POINT}
vnconfig -u ${VND_DEV} vnconfig -u ${VND_DEV}
/bin/rm -f ${IMAGE} /bin/rm -f ${IMAGE}
cat /*bin/* > /dev/null
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.1 1997/10/19 15:29:05 oki Exp $ # $NetBSD: Makefile.inc,v 1.2 1998/01/26 23:51:12 bad Exp $
# TOP is assumed to be defined by Makefile including this one. # TOP is assumed to be defined by Makefile including this one.
@ -46,7 +46,6 @@ all: netbsd.ram.gz
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
/usr/mdec/writefdboot /usr/mdec/fdboot ${VND_RDEV} /usr/mdec/writefdboot /usr/mdec/fdboot ${VND_RDEV}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 1997/10/19 15:29:06 oki Exp $ # $NetBSD: Makefile,v 1.2 1998/01/26 23:51:13 bad Exp $
TOP= ${.CURDIR}/.. TOP= ${.CURDIR}/..
@ -49,13 +49,11 @@ all: ${AUXTARGETS} ${CBIN}
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_DEV} -vnconfig -u ${VND_DEV}
-/bin/rm -f ${IMAGE} -/bin/rm -f ${IMAGE}
cat /*bin/* > /dev/null
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.1 1997/10/19 15:29:07 oki Exp $ # $NetBSD: Makefile.inc,v 1.2 1998/01/26 23:51:15 bad Exp $
# TOP is assumed to be defined by Makefile including this one. # TOP is assumed to be defined by Makefile including this one.
@ -34,13 +34,11 @@ all: ${AUXTARGETS} ${CBIN}
@echo "" @echo ""
umount ${MOUNT_POINT} umount ${MOUNT_POINT}
vnconfig -u ${VND_CDEV} vnconfig -u ${VND_CDEV}
cat /*bin/* > /dev/null
unconfig: unconfig:
-umount -f ${MOUNT_POINT} -umount -f ${MOUNT_POINT}
-vnconfig -u ${VND_DEV} -vnconfig -u ${VND_DEV}
-/bin/rm -f ${IMAGE} -/bin/rm -f ${IMAGE}
cat /*bin/* > /dev/null
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF}