From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 10 05:13:57 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD08A106564A; Thu, 10 Jul 2008 05:13:57 +0000 (UTC) (envelope-from mtm@wubethiopia.com) Received: from dire.wubethiopia.com (j071.v.rootbsd.net [208.79.82.223]) by mx1.freebsd.org (Postfix) with ESMTP id 96B2A8FC13; Thu, 10 Jul 2008 05:13:57 +0000 (UTC) (envelope-from mtm@wubethiopia.com) Received: from rogue.mike.lan (unknown [213.55.68.187]) by dire.wubethiopia.com (Postfix) with ESMTPSA id 14BB94FD9551; Thu, 10 Jul 2008 05:13:46 +0000 (UTC) Message-ID: <48759BD8.20404@wubethiopia.com> Date: Thu, 10 Jul 2008 08:19:20 +0300 From: Mike Makonnen User-Agent: Thunderbird 2.0.0.12 (X11/20080323) MIME-Version: 1.0 To: Marcel Moolenaar References: <784966050807021123l267aa20en39eb513c12c90ad2@mail.gmail.com> <20080702235800.H47773@fledge.watson.org> <486C8700.5020100@lobraun.de> <20080703092511.T69986@fledge.watson.org> <486F8C57.9050908@wubethiopia.com> <48737F79.6070401@wubethiopia.com> <20080708190407.GA68713@rink.nu> <47A12EFB-2433-4E60-BE15-48E1BDD22238@mac.com> In-Reply-To: <47A12EFB-2433-4E60-BE15-48E1BDD22238@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Rink Springer , freebsd-current@freebsd.org Subject: Re: Sysinstall is still inadequate after all of these years X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2008 05:13:57 -0000 Marcel Moolenaar wrote: > > On Jul 8, 2008, at 12:04 PM, Rink Springer wrote: > >> On Tue, Jul 08, 2008 at 05:53:45PM +0300, Mike Makonnen wrote: >>> Freddie Cash wrote: >>>> >>>> The tricky part will be getting the disk slicing, slice partitioning, >>>> and filesystem formatting to work reliably, with all the power of >>>> FreeBSD's GEOM modules, and ZFS. >>>> >>> >>> Actually, this is probably the easiest part (at least for UFS). The >>> libdisk(3) library abstracts most of it out of the installer. >> >> ...except that libdisk(3) was supposed to be a temporary hack. I'd >> really >> suggest that something cleaner is to be written; libdisk(3) really is >> not the way to go. Have a look at the code and see for yourself. > > Yes, libdisk is bad. GEOM_PART has been designed > for use by installers. It can be interfaced > faily easily. See gpart(8) for example. Is there documentation for the geom_part API somewhere (I couldn't find any) or do I have to look at gpart(8) to figure out how to use it? Is it ok to just use gpart(8) instead of using the geom_part API? Cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mtm @ FreeBSD.Org | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 FreeBSD | http://www.freebsd.org