From owner-freebsd-current@freebsd.org Fri Mar 11 00:06:25 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 C9549ACC427 for ; Fri, 11 Mar 2016 00:06:25 +0000 (UTC) (envelope-from marquis@roble.com) Received: from mx5.roble.com (mx5.roble.com [206.40.34.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx5.roble.com", Issuer "mx5.roble.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A3E2DAA3 for ; Fri, 11 Mar 2016 00:06:25 +0000 (UTC) (envelope-from marquis@roble.com) Received: from alba.roble.net (mx5.roble.com [206.40.34.5]) by mx5.roble.com (Postfix) with ESMTP id 7FF906783D for ; Thu, 10 Mar 2016 16:06:18 -0800 (PST) In-Reply-To: References: Date: Thu, 10 Mar 2016 16:06:18 -0800 Subject: Re: zfsboot patch for /usr From: "Roger Marquis" To: freebsd-current@freebsd.org Reply-To: marquis@roble.com MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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: Fri, 11 Mar 2016 00:06:25 -0000 > 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. Thanks to everyone for pointing this out. I'll forget about mkdir then, ignore the output of 'zfs list' and get comfortable doing things the zfs way. Still have to tweak scripts/zfsboot to create a /var/spool subvol, a /home subvol in place of /usr/home and specify atime=none in the default dataset. At least the latter works as expected. Roger