Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2012 01:23:43 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        alfred@FreeBSD.org
Cc:        arch@FreeBSD.org
Subject:   Re: [patch] allow crash dumps to Linux swap partitions
Message-ID:  <201201090923.q099NhEp025399@gw.catspoiler.org>
In-Reply-To: <20120109061706.GC89781@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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.




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