From owner-freebsd-questions@freebsd.org Tue Oct 22 07:33:56 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 841E615287A for ; Tue, 22 Oct 2019 07:33:56 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (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 46y4xv3gPtz4QlD for ; Tue, 22 Oct 2019 07:33:55 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=o7PrQ2KD2cJvOalYsu7Sk+ybGyOzSN+lWZV6y/kIK2A=; b=BYX3vla9MUffaunlsYYILF28wt +DRmEiUdunbXEV4PNV1JVfRQIMrzrIeVx71kZ5U4TFHPHTRjF4Gse5jqErnPiCvmWIcwui8QKpaUO GcAIp4UwJBGp5zSJxt9MzoObvAVO2r3P0VOKMtrjGjVNl3RBjsU75QHFkuoUsOactFd4=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iMofx-000Hhn-87 for freebsd-questions@freebsd.org; Tue, 22 Oct 2019 14:33:53 +0700 Date: Tue, 22 Oct 2019 14:33:53 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: boot1.efi and ZFS Message-ID: <20191022073353.GA67692@admin.sibptus.ru> References: <9fdcf15e-2f83-1cfd-1e04-cc08943485fa@networktest.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46y4xv3gPtz4QlD X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=BYX3vla9; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.35 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.25)[ip: (-9.83), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.43), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Oct 2019 07:33:56 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, Out of curiousity. UEFI(8) says that=20 "boot1.efi searches partitions of type freebsd-ufs and freebsd-zfs for loader.efi. The search begins with partitions on the device from which boot1.efi was loaded, and continues with other available partitions. If both freebsd-ufs and freebsd-zfs partitions exist on the same device the freebsd-zfs partition is preferred. boot1.efi then loads and executes loader.efi." This means that boot1.efi (with binary size 80k) includes a ZFS filesystem driver (even if just readonly)? Really, a ZFS implementation can be so small in size? Is _all_ the ZFS access code really in /src/stand/efi/boot1/zfs_module.c ?= =20 --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --jI8keyz6grp/JLjh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdrrDhAAoJEA2k8lmbXsY0wg4H/2ewpgTgT2eLklv/Xmk9+gjs j1wPHrTuKV7jr9YFdsKFDMkmjSxAmZdWo9qTuO6sZDMoSo1lvmwKzxBs49bc8GNg 7tDCJ9ywMHofA3S64yVcV2YoSHqb900pqZFCsgBWm25b7N4Tz/rWF5qAybPBJBoK mkeZkaTB8vRkKAcOE/Nwn8QVhvBWpeXkungzvsSxZzTbmXRDbGmQQPGUgjfAYpOG +cg/iTKF+zyaX23cAnw1Lq6Dd942OwPzmkzK/jNLPAazsD85cePD+JLoxcqRI5aG r9FVi16MERKfEH4MeYAj7ljm3taYCkOueG1LaInVZSuTYqYGMDs8TJiMwmHjF8k= =Hxys -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--