[764] in testers

home help back first fref pref prev next nref lref last post

Re: rt 7.0C: /etc/rc

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Wed May 16 06:15:25 1990

Date: Wed, 16 May 90 06:15:02 -0400 (EDT)
From: John F Carr <jfc@ATHENA.MIT.EDU>
To: testers@ATHENA.MIT.EDU, "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
In-Reply-To: <9005161007.AA00754@pit-manager.MIT.EDU>
The only solution I see is to put early in /etc/rc (i.e. before cache
size computation):

	if [ ${SAVECORE}x = truex -a -r /etc/savecore ] ; then
		/etc/savecore /usr/crash
		savecoredone=yes
	fi

and change the later savecore invocation to add "-a ${savecoredone}x =
x".  This means you can copy /etc/savecore local to be safe, or use the
copy on the packs and take the chance of overflowing a partition.  (I
verified that test will do the right thing in the above code even though
a symlink /etc/savecore exists in all cases).

I don't think flushing the cache on every reboot (which is what setting
cache size to 2000 would do) is a good idea.


home help back first fref pref prev next nref lref last post