From owner-svn-src-all@FreeBSD.ORG Thu Aug 28 07:34:12 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 80737A16; Thu, 28 Aug 2014 07:34:12 +0000 (UTC) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 371FF1C8C; Thu, 28 Aug 2014 07:34:12 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1XMuDg-000IL4-Ci; Thu, 28 Aug 2014 11:34:08 +0400 Date: Thu, 28 Aug 2014 11:34:08 +0400 From: Slawa Olhovchenkov To: dteske@FreeBSD.org Subject: Re: svn commit: r270644 - stable/10/usr.sbin/bsdinstall/scripts Message-ID: <20140828073408.GK2075@zxy.spb.ru> References: <201408260231.s7Q2VbCW087619@svn.freebsd.org> <20140827140902.GA41194@zxy.spb.ru> <1d0501cfc221$1114f850$333ee8f0$@FreeBSD.org> <20140827184832.GJ2075@zxy.spb.ru> <1e8b01cfc267$a266a650$e733f2f0$@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1e8b01cfc267$a266a650$e733f2f0$@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-10@freebsd.org, 'Andrew Thompson' X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2014 07:34:12 -0000 On Wed, Aug 27, 2014 at 07:27:37PM -0700, dteske@FreeBSD.org wrote: > Now compare that to the following code: > http://svnweb.freebsd.org/base/head/usr.sbin/bsdinstall/scripts/zfsboot?view > =markup > > Read: There is a /usr/home already -- what's the issue? May be best mount to /home and do symlink from /usr/home? This is proposal. I think for ZFS install this is natural. > > Other datasets have special atributes and removing datasets is simples > > then creating and to easy to forget create their before use. > > Perhaps; but if you're really deploying that many systems (to which it is > a need that each be setup in the same [custom] manner), you really > out to make a custom installer. In some cases I do remote setup where install image supplayed for me. > Just rip open the installer ISO, create the following file: > > FILE: /etc/installerconfig > ZFSBOOT_DATASETS=" > # your custom settings here -- see /usr/libexec/bsdinstall/zfsboot > " # END-QUOTE I see this but don't correlate with actual ZFS layout: /usr in real not copressed, /usr/ports is compressed. I don't see compression options for /usr/ports in ZFSBOOT_DATASETS, how it work?! > Then repack the ISO and use that instead of the generic release media. And do it for each new release? What about "advanced options" with checkboxes for optional dataset?