dumpsave under System V (ESIX)

Conor P. Cahill cpcahil at virtech.uucp
Fri Jun 15 09:19:30 AEST 1990


In article <1990Jun14.162801.10247 at murdoch.acc.Virginia.EDU> jrs2p at amsun26.apma.Virginia.EDU (Jonathan R. Senning) writes:
>Conor P. Cahill (uunet!virtech!cpcahil) made the suggestion of adding
>the line (sleep 10 ; kill $$) to /etc/dumpsave.  This seemed strange to
>me as after 10 seconds the processes running dumpsave would be killed
>even if the user was trying to save the system dump (wouldn't it?).

All you gotta do is ignore signal 15 after the read returns using something
like:

	echo "do you want to make a dump?\c "
	(sleep 10; kill $$) &
	read answer

	trap "" 15

Sorry for not posting that the first time.
-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.unix.i386 mailing list