Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Sep 2003 17:04:28 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        freebsd-current@freebsd.org
Subject:   swapon vs savecore dilemma
Message-ID:  <20030901165035.D58395@carver.gumbysoft.com>

next in thread | raw e-mail | index | archive | help
Hey folks,

It looks like we may need to rethink the way swap is mounted at boot time
if we want crashdumps to work.

Recently(?), a change was made so you can no longer open a swap partition
read/write after it is activated with swapon(8).  In the current boot
sequence, swap is mounted before the root fsck starts so additional space
is available if the root fsck needs it.  But at that point no partitions
are available for writing a core to, so we can't run savecore then.

Without crashdumps debugging gets kind of interesting.

Suggestions, other than have separate dump and swap partitions?

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030901165035.D58395>