From owner-freebsd-geom@FreeBSD.ORG Tue Feb 6 06:56:05 2007 Return-Path: X-Original-To: geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 603B416A40A for ; Tue, 6 Feb 2007 06:56:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.177]) by mx1.freebsd.org (Postfix) with ESMTP id 4A82413C4B9 for ; Tue, 6 Feb 2007 06:56:05 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout07/MantshX 4.0) with ESMTP id l166gNIi016857 for ; Mon, 5 Feb 2007 22:42:23 -0800 (PST) Received: from [192.168.1.2] (c-67-164-11-148.hsd1.ca.comcast.net [67.164.11.148]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id l166gKm0014972 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 5 Feb 2007 22:42:22 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: geom@FreeBSD.org From: Marcel Moolenaar Date: Mon, 5 Feb 2007 22:40:52 -0800 X-Mailer: Apple Mail (2.752.3) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: Subject: New g_part class 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: Tue, 06 Feb 2007 06:56:05 -0000 All, I sent a diff to re@ for review, but I figured this is also a good place. The diff can be found here: http://mail.xcllnt.net/~marcel/g_part.diff The g_part class is a generic partitioning class with a rich set of g_ctl verbs for creating and modifying partition schemes. Currently only GPT (GUID Partition Table) and APM (Apple Partition Map) are implemented, but the KOBJ interface makes it easy to add other schemes like MBR, BSD, SUN and/or PC98. The diff only contains the kernel part. A userland tool is forthcoming. A description of the g_ctl verbs can be found here: http://wiki.freebsd.org/MarcelMoolenaar Thoughts and suggestions are welcome, -- Marcel Moolenaar xcllnt@mac.com