[patch] allow crash dumps to Linux swap partitions

Xin LI delphij at gmail.com
Sun Jan 8 23:33:09 UTC 2012


On Sun, Jan 8, 2012 at 3:03 PM, Garrett Cooper <yanegomi at gmail.com> wrote:
> On Sun, Jan 8, 2012 at 12:35 PM, Don Lewis <truckman at freebsd.org> wrote:
>> I've got a machine that is set up to dual boot both FreeBSD and Linux.
>> It is also disk space impaired, so to make the best use possible of the
>> available space, I have FreeBSD set up to swap to the Linux swap
>> partition. Until now I haven't had working crash dumps because geom
>> didn't permit crash dumps to Linux swap partitions. This patch removes
>> that limitation.  This could be useful for users of laptops who boot
>> multiple operating systems.
>
>    Seems like a good idea, but could dumping to a Linux partition
> confuse FreeBSD or vice versa?

Unlikely, these are scratch spaces and validated upon boot (i.e. the
dump saver would "taste" before saving).

Cheers,
-- 
Xin LI <delphij at delphij.net> https://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die


More information about the freebsd-arch mailing list