Subject: Re: @booted_kernel magic symlink?
To: Wolfgang Solfrank <ws@TooLs.DE>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-kern
Date: 04/27/2006 13:00:48
On Thu, 27 Apr 2006 18:52:49 +0200, Wolfgang Solfrank <ws@TooLs.DE> wrote:

> Hi,
> 
> Steven M. Bellovin wrote:
> > Here's a quick-and-dirty hack, very lightly tested.  There's deliberately
> > no stop routine to delete the symlink, and it runs before savecore; the
> > idea is that if the system crashed, you can save the failed kernel....
> 
> Hmm, wouldn't it make much more sense if it would run *after* savecore?
> That way the symlink would most likely point to the kernel that actually
> crashed, not the one that is currently booting...
> 
You are, of course, correct.

		--Steven M. Bellovin, http://www.cs.columbia.edu/~smb