From 4da46852f5aa596ecc6498172d9b96d87d288432 Mon Sep 17 00:00:00 2001 From: bad Date: Mon, 26 Jan 1998 23:50:54 +0000 Subject: [PATCH] We don't need to manually flush the buffer cache after ``vnconfig -u'' anymore. --- distrib/alpha/floppy/common/Makefile.inc | 3 +-- distrib/alpha/floppy/md_install/Makefile | 4 +--- distrib/amiga/floppies/inst-common/Makefile.inc | 3 +-- distrib/arm32/floppies/inst-common/Makefile.inc | 3 +-- distrib/arm32/ramdisk/Makefile | 4 +--- distrib/i386/floppies/bootfloppy-common/Makefile.inc | 3 +-- distrib/i386/floppies/ramdisk/Makefile | 4 +--- distrib/i386/floppies/ramdisk/Makefile.inc | 4 +--- distrib/miniroot/Makefile | 3 +-- distrib/mvme68k/ramdisk/Makefile | 4 +--- distrib/pc532/floppies/inst-common/Makefile.inc | 5 +---- distrib/x68k/floppies/bootfloppy-common/Makefile.inc | 3 +-- distrib/x68k/floppies/ramdisk/Makefile | 4 +--- distrib/x68k/floppies/ramdisk/Makefile.inc | 4 +--- 14 files changed, 14 insertions(+), 37 deletions(-) diff --git a/distrib/alpha/floppy/common/Makefile.inc b/distrib/alpha/floppy/common/Makefile.inc index a003d7d5063a..591406534fb1 100644 --- a/distrib/alpha/floppy/common/Makefile.inc +++ b/distrib/alpha/floppy/common/Makefile.inc @@ -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. @@ -47,7 +47,6 @@ all: netbsd.ram.gz @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_CDEV} - cat /bin/* /sbin/* /usr/lib/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} diff --git a/distrib/alpha/floppy/md_install/Makefile b/distrib/alpha/floppy/md_install/Makefile index f112d23efee1..655698569659 100644 --- a/distrib/alpha/floppy/md_install/Makefile +++ b/distrib/alpha/floppy/md_install/Makefile @@ -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}/.. @@ -50,13 +50,11 @@ all: ${AUXTARGETS} ${CBIN} @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} -vnconfig -u ${VND_DEV} -/bin/rm -f ${IMAGE} - cat /*bin/* > /dev/null ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC} diff --git a/distrib/amiga/floppies/inst-common/Makefile.inc b/distrib/amiga/floppies/inst-common/Makefile.inc index 411b7ee03f2d..a9a133ec4ca8 100644 --- a/distrib/amiga/floppies/inst-common/Makefile.inc +++ b/distrib/amiga/floppies/inst-common/Makefile.inc @@ -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. @@ -32,7 +32,6 @@ all: ${CBIN} @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_DEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} diff --git a/distrib/arm32/floppies/inst-common/Makefile.inc b/distrib/arm32/floppies/inst-common/Makefile.inc index 25e22f7295fc..c8c3c7ecdebc 100644 --- a/distrib/arm32/floppies/inst-common/Makefile.inc +++ b/distrib/arm32/floppies/inst-common/Makefile.inc @@ -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. @@ -31,7 +31,6 @@ all: ${CBIN} @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_DEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} diff --git a/distrib/arm32/ramdisk/Makefile b/distrib/arm32/ramdisk/Makefile index 18680fec4481..c233682c4292 100644 --- a/distrib/arm32/ramdisk/Makefile +++ b/distrib/arm32/ramdisk/Makefile @@ -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}/.. @@ -49,13 +49,11 @@ all: ${AUXTARGETS} ${CBIN} @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} -vnconfig -u ${VND_CDEV} -/bin/rm -f ${IMAGE} - cat /*bin/* > /dev/null ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} crunchgen -D ${TOP}/../.. -L ${DESTDIR}/usr/lib ${.ALLSRC} diff --git a/distrib/i386/floppies/bootfloppy-common/Makefile.inc b/distrib/i386/floppies/bootfloppy-common/Makefile.inc index 2d30ef57081a..3cff6a68925c 100644 --- a/distrib/i386/floppies/bootfloppy-common/Makefile.inc +++ b/distrib/i386/floppies/bootfloppy-common/Makefile.inc @@ -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. @@ -47,7 +47,6 @@ all: netbsd.ram.gz umount ${MOUNT_POINT} /usr/mdec/installboot -v -f /usr/mdec/biosboot.sym ${VND_RDEV} vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} diff --git a/distrib/i386/floppies/ramdisk/Makefile b/distrib/i386/floppies/ramdisk/Makefile index 44d97bfe9900..2b8a0e584daf 100644 --- a/distrib/i386/floppies/ramdisk/Makefile +++ b/distrib/i386/floppies/ramdisk/Makefile @@ -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}/.. @@ -49,13 +49,11 @@ all: ${AUXTARGETS} ${CBIN} @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} -vnconfig -u ${VND_DEV} -/bin/rm -f ${IMAGE} - cat /*bin/* > /dev/null ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC} diff --git a/distrib/i386/floppies/ramdisk/Makefile.inc b/distrib/i386/floppies/ramdisk/Makefile.inc index 90e64de4f695..b10a6b7d10c1 100644 --- a/distrib/i386/floppies/ramdisk/Makefile.inc +++ b/distrib/i386/floppies/ramdisk/Makefile.inc @@ -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. @@ -34,13 +34,11 @@ all: ${AUXTARGETS} ${CBIN} @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} -vnconfig -u ${VND_DEV} -/bin/rm -f ${IMAGE} - cat /*bin/* > /dev/null ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF} diff --git a/distrib/miniroot/Makefile b/distrib/miniroot/Makefile index 7f8bd7e4d53f..5ae393eb14e7 100644 --- a/distrib/miniroot/Makefile +++ b/distrib/miniroot/Makefile @@ -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 @@ -50,7 +50,6 @@ all: ${CBIN} @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_DEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} diff --git a/distrib/mvme68k/ramdisk/Makefile b/distrib/mvme68k/ramdisk/Makefile index 0607e5132d6d..ebec20f872ba 100644 --- a/distrib/mvme68k/ramdisk/Makefile +++ b/distrib/mvme68k/ramdisk/Makefile @@ -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}/.. @@ -46,13 +46,11 @@ ${IMAGE}: ${TREE} ${LISTS} ${CBIN} @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} -vnconfig -u ${VND_CDEV} -/bin/rm -f ${IMAGE} - cat /*bin/* > /dev/null # Do not delete this if I change my mind and kill make... .PRECIOUS: ${IMAGE} diff --git a/distrib/pc532/floppies/inst-common/Makefile.inc b/distrib/pc532/floppies/inst-common/Makefile.inc index 000c7ae94774..86b5318c105f 100644 --- a/distrib/pc532/floppies/inst-common/Makefile.inc +++ b/distrib/pc532/floppies/inst-common/Makefile.inc @@ -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. @@ -41,7 +41,6 @@ all: netbsd.gz @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null -yes|bim -c init -c "add ${MDEC}/boot boot" -c "default 0" \ -c "exit" ${.OBJDIR}/${IMAGE} 2>/dev/null >/dev/null @@ -69,7 +68,6 @@ ramdisk.fs: ${CBIN} ${LISTS} umount ${MOUNT_POINT} .ifndef SD vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null .else dd if=/dev/${SD} of=${.TARGET} bs=128k count=16 .endif @@ -79,7 +77,6 @@ unconfig: umount -f ${MOUNT_POINT} vnconfig -u ${VND_DEV} /bin/rm -f ${IMAGE} - cat /*bin/* > /dev/null ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF} diff --git a/distrib/x68k/floppies/bootfloppy-common/Makefile.inc b/distrib/x68k/floppies/bootfloppy-common/Makefile.inc index 99a74476ea7e..624135ee96bd 100644 --- a/distrib/x68k/floppies/bootfloppy-common/Makefile.inc +++ b/distrib/x68k/floppies/bootfloppy-common/Makefile.inc @@ -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. @@ -46,7 +46,6 @@ all: netbsd.ram.gz umount ${MOUNT_POINT} /usr/mdec/writefdboot /usr/mdec/fdboot ${VND_RDEV} vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} diff --git a/distrib/x68k/floppies/ramdisk/Makefile b/distrib/x68k/floppies/ramdisk/Makefile index 7da57e403efa..9b8034be697a 100644 --- a/distrib/x68k/floppies/ramdisk/Makefile +++ b/distrib/x68k/floppies/ramdisk/Makefile @@ -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}/.. @@ -49,13 +49,11 @@ all: ${AUXTARGETS} ${CBIN} @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} -vnconfig -u ${VND_DEV} -/bin/rm -f ${IMAGE} - cat /*bin/* > /dev/null ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC} diff --git a/distrib/x68k/floppies/ramdisk/Makefile.inc b/distrib/x68k/floppies/ramdisk/Makefile.inc index d66ae2cfab8c..2a48745d006f 100644 --- a/distrib/x68k/floppies/ramdisk/Makefile.inc +++ b/distrib/x68k/floppies/ramdisk/Makefile.inc @@ -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. @@ -34,13 +34,11 @@ all: ${AUXTARGETS} ${CBIN} @echo "" umount ${MOUNT_POINT} vnconfig -u ${VND_CDEV} - cat /*bin/* > /dev/null unconfig: -umount -f ${MOUNT_POINT} -vnconfig -u ${VND_DEV} -/bin/rm -f ${IMAGE} - cat /*bin/* > /dev/null ${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF} crunchgen -D ${TOP}/../../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF}