From owner-freebsd-questions@freebsd.org Wed Dec 23 04:19:10 2020 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 E9A644B1D4D for ; Wed, 23 Dec 2020 04:19:10 +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 4D10Md62sxz3p9G for ; Wed, 23 Dec 2020 04:19:09 +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=/3HtjoUZ3Hv96KNhirKG0ZGLiPSVjfVyo6FnB91Opk8=; b=Y7r0OicAECDxsCu9osHN3FidqA geUBnnAifyShk2UVyMMh6TlSSCD+LDEXQlWqZdvB03PpAtT7GgDzlReicEHhATng8zWcKMV6Hat9p FtFX9dRJmRpDoq/F9C++28CBGSxVUY+Zn+ucEw/4acRFggS0zMdU4e90KId37JxlQI2M=; Received: from vas by admin.sibptus.ru with local (Exim 4.94 (FreeBSD)) (envelope-from ) id 1krvcB-0007fR-4f for freebsd-questions@freebsd.org; Wed, 23 Dec 2020 11:19:07 +0700 Date: Wed, 23 Dec 2020 11:19:07 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: BOOTX64.EFI padding Message-ID: <20201223041907.GA28380@admin.sibptus.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 X-Rspamd-Queue-Id: 4D10Md62sxz3p9G X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=Y7r0OicA; 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 [-6.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:19f0:5001:21dc::10:from]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; 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]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:19f0:5001:21dc::10:from:127.0.2.255]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Dec 2020 04:19:11 -0000 --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear Colleagues, From reading uefi(8) one can make the conclusion that boot1.efi is *the* binary which is put to the EFI partition as BOOTx64.efi.=20 However when I examine the files /boot/boot1.efi and /mnt/efi/boot/BOOTx64.efi (or BOOTx64.efi from the /boot/boot1.efifat filesystem image), I see that BOOTx64.efi is first identical to boot1.efi, but then it's padded with spaces. Why is that? --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --5vNYLRcllDrimb99 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJf4sU7AAoJEA2k8lmbXsY0Iv0H/13ccX2u91sjATDROgVU0NdE JLxYCd2tVxxaID1+o+8N5Ruj7sjvEDVyJbM6JdRWAgN7jWIp7f5M5dRA8FlpUfUL CMpI084AA2NlvHcSJJDF4zid7HcpZwtZbmCf9Dh4i2fI0Nw/2cJ7ka4x6ysW9DKd 9p2sFOw+oBCz+C7Ed8vu7XsgB6GDfPL0rlZYdsjuv4jYQFcz4Xbwe1Zg6TDQBrsT cvNvowK2APZl/Fj8nuMYx+hBBobtOPCEigq2Kf462wSPhzTSvjyL/fsZoIJIvIo2 zdSi13sxP9zLwF12X7RGYjDseR6yCeNbccalXyWHO0g0p7MpQfSU+XMlBqEGn3M= =ZKTz -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--