🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sgi.admin
2 messages
2 total messages Started by Christopher Kranz Tue, 12 Jan 1993 15:57
detecting crash dumps on boot?
#144
Author: Christopher Kranz
Date: Tue, 12 Jan 1993 15:57
27 lines
1716 bytes
Is it possible to determine if a crash dump exists before /etc/savecore
runs?

What I'd like to do is determine if a crash dump exists on the swap device
before /etc/savecore runs and then make room for the vmcore file that
/etc/savecore creates by deleteing other files in the same file system.

I've got a rather large scratch space where users keep large temporary
files.  I don't want to delete them if I don't have to, just when I need to
make room for a crash dump.

Any useful suggestions (or even guesses) would be appreciated.  Thanks.


	Christopher Kranz
	clk@princeton.edu
--
Christopher Kranz                  |  internet:  clk@Princeton.EDU
Systems Programmer, UNIX Systems   |    BITNET:  clk@PUCC
Princeton University               |      UUCP:  princeton!clk
87 Prospect Avenue, Room 200       |     Voice:  609-258-6033/6000
Princeton, NJ  08544               |       FAX:  609-258-3943
-- 
Christopher Kranz                  |  internet:  clk@Princeton.EDU
Systems Programmer, UNIX Systems   |    BITNET:  clk@PUCC
Princeton University               |      UUCP:  princeton!clk
87 Prospect Avenue, Room 200       |     Voice:  609-258-6033/6000
Re: detecting crash dumps on boot?
#146
Author: Robert Keller
Date: Tue, 12 Jan 1993 18:40
10 lines
1007 bytes
clk@ernie.Princeton.EDU (Christopher Kranz) writes:
>What I'd like to do is determine if a crash dump exists on the swap device
>before /etc/savecore runs and then make room for the vmcore file that
>/etc/savecore creates by deleteing other files in the same file system.

Take a look at the savecore(1M) man page, especially the description section.
You'll likely want to put a hook in /etc/rc2.d/S48savecore, or if you 
have another filesystem with enough space, simply use /etc/config/savecore.options.

...robert
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads