From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jun 8 17:42:37 2014 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E7D49E0 for ; Sun, 8 Jun 2014 17:42:37 +0000 (UTC) Received: from i3mail.icecube.wisc.edu (i3mail.icecube.wisc.edu [128.104.255.23]) by mx1.freebsd.org (Postfix) with ESMTP id 4E1B22979 for ; Sun, 8 Jun 2014 17:42:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by i3mail.icecube.wisc.edu (Postfix) with ESMTP id F357138073; Sun, 8 Jun 2014 12:42:36 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from i3mail.icecube.wisc.edu ([127.0.0.1]) by localhost (i3mail.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id Q8MBqpPQHnWG; Sun, 8 Jun 2014 12:42:36 -0500 (CDT) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) by i3mail.icecube.wisc.edu (Postfix) with ESMTPSA id 812CD38069; Sun, 8 Jun 2014 12:42:36 -0500 (CDT) Message-ID: <5394A08B.6060106@freebsd.org> Date: Sun, 08 Jun 2014 10:42:35 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Kurt Lidl Subject: Re: bin/164281: bsdinstall(8): please allow sysinstall as installer option References: <201404151630.s3FGU0Zg026166@freefall.freebsd.org> <012501cf5f1f$c5e7c740$51b755c0$@FreeBSD.org> <5358223B.1090408@gmail.com> <535827AC.3040503@allanjude.com> <53582CC4.2080808@freebsd.org> <53583D5C.5020506@pix.net> <53583DB8.1080905@freebsd.org> <20140423230210.GA20429@pix.net> In-Reply-To: <20140423230210.GA20429@pix.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2014 17:42:37 -0000 On 04/23/14 16:02, Kurt Lidl wrote: > On Wed, Apr 23, 2014 at 03:24:56PM -0700, Nathan Whitehorn wrote: >> On 04/23/14 15:23, Kurt Lidl wrote: >>> On 4/23/14 5:12 PM, Nathan Whitehorn wrote: >>>> On 04/23/14 13:50, Allan Jude wrote: >>>> >>>>> I had big ideas for the ZFS part of the installer, to extend it further >>>>> to allow multi-way mirrors and customizing the dataset layout. >>>> That's nice to hear. Hopefully you can integrate it into the regular >>>> partition editor too. It's about to grow support for setting EFI systems >>>> and duplicating that logic around would be unfortunate. >>> Hmm, I've got some kinda ugly (but functional) support for doing >>> creating zpools from the disk partitioning editor. Anybody interested >>> in the patches? >>> >>> -Kurt >>> >>> >> Yes, please! Allan, maybe we could set up a branch for this? > OK, here's a slightly editted diff from fbsd-stable9 to my tree. > I stripped out a little hardware specific code that diddles the > swap space size - it's not really generically useful to people. > > Hopefully I didn't mess up the diff when I took that out. > > A couple of notes: I unconditionally setup a 4K gnop when > creating the zfs zpool. It's kludgey, but I don't think it is > possible to get that effect through a command line option (yet). > Certainly if you want it to do this on freebsd-9 or freebsd-10 > there's no command line way to do it. > > The fstab that gets created for a zpool based system has a > commented out entry for / -- I have other mods in some of the > related scripts to key off that and "do the right thing" for > my purposes. This could be improved. > > Finally, I took a stab at supporting ZFS booting on sparcs. > There's a comment in there about the actual "dd" command that > needs to be done to make this fly. I didn't do it. I think > a general "installbootcode" command that could be built and > applied (similar to the way I built the gnop command) could > be made to work for doing this. I'd really like this to > "just work" on sparcs too... > > I didn't add any copyright to this mods, I don't know if the > changes deserve a mention or not. > > -Kurt > I've set up a branch in my SVN user directory (user/nwhitehorn/bsdinstall_zfspartedit) to integrate this. Thanks very much for this patch! Allan, feel free to commit there at will. -Nathan