[patch] allow crash dumps to Linux swap partitions

Don Lewis truckman at FreeBSD.org
Mon Jan 9 09:23:51 UTC 2012


On  8 Jan, Alfred Perlstein wrote:
> This is cool, it does seem to beg for a function instead of inlining
> the logic in two places in case someone wants to add even more logic
> to it.

That would be a bit messy because the two variations of this function
use different partition entry structures.

I believe that when these functions are called, geom has already tasted
the partitions, so we might be able to use a common helper function to
look for the presence of a BSD label.



More information about the freebsd-arch mailing list