Add a little gdb script to switch off FFS clustering. This avoids

buffer cache lockups in INSTALL_TINY (it has very little buffers
to spare). This is the least intrusive way of fixing that.
This commit is contained in:
fvdl 2000-10-20 21:49:00 +00:00
parent 986b950535
commit 1e92db558a
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2000/09/27 16:04:14 fvdl Exp $
# $NetBSD: Makefile,v 1.2 2000/10/20 21:49:00 fvdl Exp $
TOP= ${.CURDIR}/..
@ -39,6 +39,7 @@ netbsd.INSTALL_LAPTOP.gz: .NOTMAIN ${KERNOBJDIR}/INSTALL_LAPTOP/netbsd ${RAMDISK
netbsd.INSTALL_TINY.gz: .NOTMAIN ${KERNOBJDIR}/INSTALL_TINY/netbsd ${RAMDISK_T}
cp ${KERNOBJDIR}/INSTALL_TINY/netbsd netbsd.tmp
gdb --write -batch -x ${.CURDIR}/nocluster.gdb netbsd.tmp
${DESTDIR}/usr/sbin/mdsetimage -v netbsd.tmp ${RAMDISK_T}
nm netbsd.tmp > netbsd.INSTALL_TINY.symbols
${STRIP} netbsd.tmp

View File

@ -0,0 +1,2 @@
set doclusterwrite=0
set doclusterread=0