From owner-freebsd-current@freebsd.org Thu Mar 10 01:47:56 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02E18ACA31A for ; Thu, 10 Mar 2016 01:47:56 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id DC00092C for ; Thu, 10 Mar 2016 01:47:55 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.0.27] (216.134.149.210.rev.iijgio.jp [210.149.134.216]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 4F556D47F for ; Thu, 10 Mar 2016 01:39:39 +0000 (UTC) Subject: Re: zfsboot patch for /usr To: freebsd-current@freebsd.org References: <20160309233636.880D0D1F0@mx1.scaleengine.net> From: Allan Jude Message-ID: <56E0D058.2070608@freebsd.org> Date: Wed, 9 Mar 2016 20:39:36 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20160309233636.880D0D1F0@mx1.scaleengine.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 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, 10 Mar 2016 01:47:56 -0000 On 03/09/2016 18:36, Roger Marquis wrote: > Wondering if anyone has example patches for zfsboot (from > usr.sbin/bsdinstall/scripts)? > > We're looking to change some of the default zfs subvolumes, removing /usr in > favor of /usr/local in particular, and have run into a "parent does not exist" > issue. It's not clear where in the script the /usr parent dir should be > mkdir'd. > > Roger > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > You don't mkdir it, you create it as a ZFS dataset, and mark it with the 'canmount=no' property, so it only exists to be a parent, not as an actual dataset. This is the default in zfboot currently. -- Allan Jude