From owner-freebsd-current@FreeBSD.ORG Thu Dec 29 15:20:32 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C49E106566B for ; Thu, 29 Dec 2011 15:20:32 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 0E7988FC08 for ; Thu, 29 Dec 2011 15:20:31 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LWZ0050O1A7LY00@smtpauth1.wiscmail.wisc.edu> for freebsd-current@freebsd.org; Thu, 29 Dec 2011 09:20:31 -0600 (CST) Received: from wanderer.tachypleus.net ([unknown] [76.210.77.223]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LWZ00KIC19YOT10@smtpauth1.wiscmail.wisc.edu> for freebsd-current@freebsd.org; Thu, 29 Dec 2011 09:20:22 -0600 (CST) Date: Thu, 29 Dec 2011 07:20:20 -0800 From: Nathan Whitehorn In-reply-to: To: freebsd-current@freebsd.org Message-id: <4EFC8534.7040903@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.77.223 X-Spam-PmxInfo: Server=avs-12, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.12.29.150914, SenderIP=76.210.77.223 References: <4EFC1260.1060503@luddite.com.au> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111213 Thunderbird/8.0 Subject: Re: Apropos Removal of sysinstall X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2011 15:20:32 -0000 On 12/29/11 04:34, Mark Blackman wrote: > > > On Thu, 29 Dec 2011, Peter J. Cherny wrote: >> I believe removal of sysinstall exposes the community's blindness to a >> major parts of it's future, ZFS root. >> >> Other than following arcane recipes, >> the only way to create a system with ZFS root is by using Martin >> Matu?ka's excellent mfsboot images. >> >> Where are the plans for making this functionality mainstream ? > > What's stopping this? lack of effort/time or consensus? > I know it's a volunteer project and there's lots of resource constraints, > but ZFS on root seems like such a no-brainer that I can only assume it's > quite hard or nobody has quite decided what it should look like. It's not very hard. Several people volunteered to do this a long time ago, and for reasons of time, I guess, it didn't happen or wasn't finished. Since they were doing it, it was silly for other people to work on it, and so here we are. Maybe this discussion will prompt patches. What needs to be done is the following: - Write a zfs_ops.c file as an analog to gpart_ops.c in src/usr.sbin/bsdinstall/partedit that implements the Add/Delete/Modify buttons for ZFS filesystems in zpools. Some logic to avoid touching the disks until the user presses finish is also necessary. - Write some code to show ZFS file systems in zpools in the main partition editor screen, like the existing gpart walk code - Code to add partitions to zpools (probably just check for freebsd-zfs type and then use the mountpoint as the zpool name or something) when they are created. I unfortunately don't have much FreeBSD time at the moment, so can't complete this. But I will very, very happily provide advice and integrate patches. -Nathan