From owner-freebsd-hackers@FreeBSD.ORG Mon Jul 8 00:12:58 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 94025B58; Mon, 8 Jul 2013 00:12:58 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 63D411C9F; Mon, 8 Jul 2013 00:12:58 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa01.fnfis.com (8.14.5/8.14.5) with ESMTP id r680Cv9d025879 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 7 Jul 2013 19:12:57 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Sun, 7 Jul 2013 19:12:57 -0500 From: "Teske, Devin" To: "Chad J. Milios" Subject: Re: Announcing: nuOS 0.0.9.1b1 - a whole NEW FreeBSD distro, NOT a fork Thread-Topic: Announcing: nuOS 0.0.9.1b1 - a whole NEW FreeBSD distro, NOT a fork Thread-Index: AQHOe10+p/Zf2qC+20mYyH00Dv0xCplaPOCA Date: Mon, 8 Jul 2013 00:12:56 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201FB6177@ltcfiswmsgmb21> References: <51D9E499.103@nuos.org> In-Reply-To: <51D9E499.103@nuos.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="us-ascii" Content-ID: <15939EF16295654FBA8F994607B8F0AF@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-07-07_08:2013-07-05,2013-07-07,1970-01-01 signatures=0 Cc: FreeBSD Hackers , Devin Teske X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2013 00:12:58 -0000 On Jul 7, 2013, at 2:58 PM, Chad J. Milios wrote: [snip] > /etc is now a ZFS dataset of its own > How did we do it? > Decades of conventional wisdom says /etc must be on /. > Check it out, discuss the whys and the trade-offs. Well, I see in nu_install on GitHub how you're doing it: You added: init_script=3D"/boot/init.sh" to /boot/loader.conf, wich -- among other things -- does these two interest= ing things (variable names changed to make things more clear): zfs rollback -r $zfs/swap/host@blank NOTE: $zfs is equal to $( /bin/kenv vfs.root.mountfrom ) minus the leading = "zfs:" and zfs mount $zpool/etc NOTE: $zpool is equal to $zfs from above, leading up to (but not including)= the first slash (/). Cute. Have to say I wasn't aware of the init_script feature of loader.conf(= 5). Not bad. --=20 Devin NOTE: Paring down on the cross-posting (bad OP). Posting only to -hackers@ = (as it seems to be the right place to post disseminating analysis). _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.