From owner-freebsd-questions@freebsd.org Tue Oct 22 07:50:16 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 3F2BE152E05 for ; Tue, 22 Oct 2019 07:50:16 +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 46y5Jl3hxmz4RNx for ; Tue, 22 Oct 2019 07:50:15 +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=Message-ID:Subject:To:From:Date:In-Reply-To; bh=hkeXAtPojAlQLNZSh3lEGDxp2As7EEHys88uXqk8fJ0=; b=o9Md9u83hdIm8YmKo8CEejbubd iDy/8egfnvwdjRgUoCBcPJ28THwgCfyyGBYdHfB23NW8bVTe8tidR2wR/1piXwgE/Z5dd6A1mVG7a Gb6tQFLZkHMwpjcErsco5gjO1KP+w2fSJxjQ00a57oJK9d/BPvudKBxxZ4xHdPYGg1Zs=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1iMovm-000HtI-83 for freebsd-questions@freebsd.org; Tue, 22 Oct 2019 14:50:14 +0700 Date: Tue, 22 Oct 2019 14:50:14 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: boot1.efi and ZFS Message-ID: <20191022075014.GA68084@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline X-DKIM-result: pass sibptus.ru User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 46y5Jl3hxmz4RNx X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=o9Md9u83; 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:c]; 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.84), ipnet: 2001:19f0:5000::/38(-4.92), asn: 20473(-1.44), 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:50:16 -0000 --8t9RHnE3ZwKMSgU+ 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/ --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJdrrS2AAoJEA2k8lmbXsY0weQH/iQBfrc+JG8Nla+l8OL+53Hv FX2lbQPzk0K1iotVwHVw46prPRu2zxecOU8edmsOBknwRU/b50K5EX/+bPx9hZ2y a2v8JuLPntfbfPSZbR+4nPR7q9FnTJSTZ53C0VRPsZ1zaWg+lGdgQxHsmAd3974u cXp2wXMO4wJUSULkOB10doDZnDRRdnkeVpfMcwrMEG0PDAQImu1sSaHM8GpqeuZQ +5PzrA//CsmCC+sN9ahbgPWVsggYAwyao3/F1jtWk22EXKmJV8r3IjLx2mGgHFdk YJb3TMnmIhVGlMRInnAhf9XYonFbVMJipAamxVrTTcT812j5KZLlhZfshjD/c/w= =jcy1 -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--