From owner-freebsd-geom@FreeBSD.ORG Mon Nov 29 22:53:39 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFAD9106564A for ; Mon, 29 Nov 2010 22:53:39 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id D2C928FC0C for ; Mon, 29 Nov 2010 22:53:39 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from sa-nc-common2-222.static.jnpr.net ([66.129.224.36]) by asmtp027.mac.com (Oracle Communications Messaging Exchange Server 7u4-18.01 64bit (built Jul 15 2010)) with ESMTPSA id <0LCO00F334WS3W20@asmtp027.mac.com> for freebsd-geom@freebsd.org; Mon, 29 Nov 2010 14:53:19 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-11-29_12:2010-11-29, 2010-11-29, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=100 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1010190000 definitions=main-1011290168 From: Marcel Moolenaar In-reply-to: <4cf367ff.58BO71PlaI7w0e4r%perryh@pluto.rain.com> Date: Mon, 29 Nov 2010 14:53:15 -0800 Message-id: References: <4cf21cd3.UbQ57eYkszW60Ww4%perryh@pluto.rain.com> <4CF34297.4070300@yandex.ru> <4cf35138.VleaJCYj4z5kd9WX%perryh@pluto.rain.com> <4CF35809.6050704@yandex.ru> <4cf367ff.58BO71PlaI7w0e4r%perryh@pluto.rain.com> To: perryh@pluto.rain.com X-Mailer: Apple Mail (2.1082) Cc: bu7cher@yandex.ru, freebsd-geom@freebsd.org Subject: Re: G_PART macro definitions X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2010 22:53:40 -0000 On Nov 29, 2010, at 12:44 AM, perryh@pluto.rain.com wrote: > "Andrey V. Elsukov" 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@mac.com