G_PART macro definitions

Marcel Moolenaar xcllnt at mac.com
Mon Nov 29 22:53:40 UTC 2010


On Nov 29, 2010, at 12:44 AM, perryh at pluto.rain.com wrote:

> "Andrey V. Elsukov" <bu7cher at yandex.ru> wrote:
> 
>>> I would expect to find -- somewhere -- some definitions along the
>>> lines of
>>> 
>>> #define G_PART_PROBE(table, cp) (*(table->XXX))(table, cp)
>> 
>> They are generated from g_part_if.m by with awk script. Look at your
>> build directory, there are g_part_if.[ch] files.
> 
> Aha!  That explains why I couldn't find them in the source distribution.
> 
> I don't yet have a build directory, because the system isn't up
> and running yet -- I'm trying to figure out why my disk partitions
> are not being recognized correctly.  There's a description of what
> I currently think is happening at
> http://lists.freebsd.org/pipermail/freebsd-questions/2010-November/224466.html

You're nesting BSD disklabels, which is pretty much an
invalid configuration. gpart does not support and/or
allow it.

FYI,

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-geom mailing list