Using Swap partition for Core dump
Robert Huff
roberthuff at rcn.com
Mon Nov 15 04:42:57 PST 2004
Loren M. Lang writes:
> Looking through the system startup scripts I discovered that the
> system runs a program called savecore that save a core dump to a
> file in /var/crash from a previous crash. The problem is that
> this is run after swap has been turned on.
True.
However: in my experience this happens sufficiently early after
swapon that if you're _using_ swap at this point you have other
issues (e.g. not enough memory or badly configured programs).
I have never had a problem with savecore reading the dump from
the designated dump device.
Robert Huff
More information about the freebsd-questions
mailing list