In message <[EMAIL PROTECTED]>, "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
[EMAIL PROTECTED]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to