From owner-freebsd-geom@FreeBSD.ORG Thu Aug 18 01:08:56 2011 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 F3C9E106564A; Thu, 18 Aug 2011 01:08:55 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id C3EC58FC19; Thu, 18 Aug 2011 01:08:55 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LQ300M00KEURS00@smtpauth3.wiscmail.wisc.edu>; Wed, 17 Aug 2011 19:08:54 -0500 (CDT) Received: from comporellon.tachypleus.net ([unknown] [76.210.68.180]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LQ300DTMKERZC40@smtpauth3.wiscmail.wisc.edu>; Wed, 17 Aug 2011 19:08:52 -0500 (CDT) Date: Wed, 17 Aug 2011 19:08:51 -0500 From: Nathan Whitehorn In-reply-to: <4DBAED76.3030006@FreeBSD.org> To: "Andrey V. Elsukov" Message-id: <4E4C5813.2060104@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.68.180 X-Spam-PmxInfo: Server=avs-13, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.8.18.14, SenderIP=76.210.68.180 References: <4DB54F40.8050608@FreeBSD.org> <4DB7C7B7.9020201@FreeBSD.org> <4DBAED76.3030006@FreeBSD.org> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110704 Thunderbird/5.0 X-Mailman-Approved-At: Thu, 18 Aug 2011 01:37:01 +0000 Cc: Marcel Moolenaar , Pawel Jakub Dawidek , freebsd-geom@FreeBSD.org, Alexander Motin , Andriy Gapon , FreeBSD Current Subject: Re: A replacement for GEOM_LABEL's gpt/gptid 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: Thu, 18 Aug 2011 01:08:56 -0000 On 04/29/11 11:55, Andrey V. Elsukov wrote: > On 27.04.2011 11:37, Andrey V. Elsukov wrote: >>> I wrote a small extension for the GEOM_PART class. It adds an ability >>> to GEOM_PART class to create partition labels for schemes which are >>> support them. > Hi All, > > i got several successful reports from users, but now i decided to make > this functional available for another consumers. > New patch: > http://people.freebsd.org/~ae/geom_alias.diff > > What it contains: > * gpt/gptid support removed from GEOM_LABEL class; > * new GEOM_ALIAS class added. This class has two public functions: > void g_alias_create(struct g_provider *pp, const char *name); > void g_alias_spoil(struct g_provider *pp); > * first two consumers of GEOM_ALIAS class are GEOM_PART and GEOM_DISK: > > GEOM_DISK uses g_alias_create() to create aliases for disks, disk's > serial number is used for alias name. > > GEOM_PART uses g_alias_create() to create aliases for labeled partitions > (gpt/gptid, apm and pc98). > > How it looks like: > http://paste.org.ru/?5exeve > What happened to this? It would be really nice to have in 9.0, or soon after anyway. Anything I can do to help it along? -Nathan