From owner-freebsd-hackers@FreeBSD.ORG Tue Jul 8 19:56:25 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 2816C1065673; Tue, 8 Jul 2008 19:56:25 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.76]) by mx1.freebsd.org (Postfix) with ESMTP id 0B5F68FC30; Tue, 8 Jul 2008 19:56:24 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtp019-bge351000.mac.com (asmtp019-bge351000 [10.150.69.82]) by smtpoutm.mac.com (Xserve/smtpout013/MantshX 4.0) with ESMTP id m68JbnTH016812; Tue, 8 Jul 2008 12:37:49 -0700 (PDT) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp019.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K3P00H29D70KW20@asmtp019.mac.com>; Tue, 08 Jul 2008 12:37:49 -0700 (PDT) Sender: xcllnt@mac.com Message-id: <47A12EFB-2433-4E60-BE15-48E1BDD22238@mac.com> From: Marcel Moolenaar To: Rink Springer In-reply-to: <20080708190407.GA68713@rink.nu> Date: Tue, 08 Jul 2008 12:37:48 -0700 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> X-Mailer: Apple Mail (2.926) Cc: Mike Makonnen , freebsd-current@FreeBSD.org, freebsd-hackers@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: Tue, 08 Jul 2008 19:56:25 -0000 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. FYI, -- Marcel Moolenaar xcllnt@mac.com