From owner-freebsd-current@FreeBSD.ORG Tue Nov 17 11:15:09 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99752106566B for ; Tue, 17 Nov 2009 11:15:09 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 740B18FC17 for ; Tue, 17 Nov 2009 11:15:09 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id ED45846BA3; Tue, 17 Nov 2009 06:15:08 -0500 (EST) Date: Tue, 17 Nov 2009 11:15:08 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Nikolay Denev In-Reply-To: Message-ID: References: <4B023061.7070203@ish.com.au> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org, Aristedes Maniatis Subject: Re: request: LOADER_ZFS_SUPPORT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 17 Nov 2009 11:15:09 -0000 On Tue, 17 Nov 2009, Nikolay Denev wrote: > I've also thought about that, but I guess one of the issues is that this way > FreeBSD will by default load CDDL-ed code, which may not be desirable. > Probably a compromise would be to build two loaders by default, one with zfs > support and the standard one. We already build special ZFS-aware boot blocks, so building a special ZFS-aware loader and teaching the ZFS-aware boot blocks how to find it seems like the right answer to me. That way we can build it by default, but not use CDDL code unless specifically requested. Robert N M Watson Computer Laboratory University of Cambridge