🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sgi.admin
Article #144

detecting crash dumps on boot?

#144
From: 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
Technical Details
Message-ID: <1993Jan12.155743.11378@Princeton.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!princeton!ernie.Princeton.EDU!clk

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.admin
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!princeton!ernie.Princeton.EDU!clk
From: clk@ernie.Princeton.EDU (Christopher Kranz)
Subject: detecting crash dumps on boot?
Message-ID: <1993Jan12.155743.11378@Princeton.EDU>
Originator: news@nimaster
Sender: news@Princeton.EDU (USENET News System)
Nntp-Posting-Host: ernie.princeton.edu
Organization: Princeton University
Date: Tue, 12 Jan 1993 15:57:43 GMT
Lines: 27