Date: Tue, 02 Sep 2003 07:36:04 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: "Aaron Wohl" <freebsd@soith.com> Cc: freebsd-current@freebsd.org Subject: Re: swapon vs savecore dilemma Message-ID: <41076.1062480964@critter.freebsd.dk> In-Reply-To: Your message of "Mon, 01 Sep 2003 23:01:45 MDT." <20030902050145.E314A3A71E@www.fastmail.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030902050145.E314A3A71E@www.fastmail.fm>, "Aaron Wohl" writes: >I usualy have a number of swap partitions since the max size of a swap >partition is kind of limited. I was thinking of changing it to do swapon >twice. The first time early in the boot would skip mounting any swap >areas that had kernel core dumps. Then after the savecore it could do >swapon again to mount the rest of the swap areas. Either that or have >swaping start to allocate space at the oposite end of the swap space than >savecore uses. Hmm, that was an unfortunate side effect. The writing is only needed for marking the dump as "read", the same effect could be had much cleaner by writing the signature of the dump to a file in /var/ somewhere and not reading dumps already in that file. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41076.1062480964>