From owner-freebsd-geom@FreeBSD.ORG Sat Feb 10 21:55:00 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 03FD216A406 for ; Sat, 10 Feb 2007 21:55:00 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id BDF9D13C4A8 for ; Sat, 10 Feb 2007 21:54:59 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 134611747B; Sat, 10 Feb 2007 21:54:57 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.8/8.13.8) with ESMTP id l1ALsvIp017225; Sat, 10 Feb 2007 21:54:57 GMT (envelope-from phk@critter.freebsd.dk) To: Marcel Moolenaar From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sat, 10 Feb 2007 10:23:32 PST." <5BB89CF0-69CE-4A93-828B-298A13CD0F67@mac.com> Date: Sat, 10 Feb 2007 21:54:57 +0000 Message-ID: <17224.1171144497@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: geom@FreeBSD.org Subject: Re: g_part partition tool -- some logistic questions 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: Sat, 10 Feb 2007 21:55:00 -0000 In message <5BB89CF0-69CE-4A93-828B-298A13CD0F67@mac.com>, Marcel Moolenaar wri tes: >I'm writing a partitioning tool, I'm working on the >geom that's being partitioned. In an ideal world all >partitioning schemes are handled by g_part, which >means I can look for the g_part class and have them >all, but for now I need to hardcode the numerous >classes. If you're working from the XML, consider having the classes announce themselves to you in XML ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.