From nobody Fri Jun 26 14:59:17 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gmzN54sbrz6jcgx for ; Fri, 26 Jun 2026 14:59:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gmzN53cKwz3dRg for ; Fri, 26 Jun 2026 14:59:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782485957; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gSi4Pbe1kKrsO6YaFMyDGSEAqqVVH05yarnndXuDVmE=; b=OXYRCiben6N5dKr6mA90Y4heqm6jOx0Z7pUWjQDve56k+ViaQDyS5ck3fAjh0kGa2GbVeJ RTdQ/TstcCAx5PqYecyjfrtpEa229R27jFKGWKa9RCWsPPCbKsh+vp/xYHggi84ir7XZmy XMejh/s36mR0upvqHKh6nyBqrszhxSze+5pr3wb1TcNCEJKlaAgeHEQHqVBYspQ6/jqSlH HAEaNOv8JNvW7XfGIYhbKNE9ZZt4r+Q5rwmOeMuKRXlAjPM6kHUDIOL1YCYyHuyDgBeZBn S5qczLW/BK1xRuFvThdlE4d/jxikK7hjyr8O6EtL5aLsRoaaf+/E7FWR0OKZxg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782485957; a=rsa-sha256; cv=none; b=B2xrYf3w7CGSVtzYV8jEoeWBxiKsGZpryH7xayAjJBKm+fWZKEjP85pjMiZAiK2G+Iz2Z7 tgi3rtHKuyp3WeS9jYYSgN1xA3jIKsUppQ8GSv+KTqFE7t2UsOa89DDfHFLD1QWEJpVrx5 wabEj1k30WvOkaCyUYwm1fcpIlVZohjKuAqKvUFypPn4ZPn/MyShYkx2OFjp64EMF2TrAI 40BCfsqdd7xLQO2M4WIze7DRVnY3im/G+LKSLmPeFGGdyTUMuDf9/WDARVCv+mc4SFuvYP zwRhMoDTQAPiKSENtR2RqOLidWaPeHZ39fgDpjBYeNImHsDpevEp2bjc+4yMJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782485957; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=gSi4Pbe1kKrsO6YaFMyDGSEAqqVVH05yarnndXuDVmE=; b=Zp6iRnmiLUpIrMSM9igCbX5PzEzd4wOEykPRzJcaGPTP8LT58lshfw/9d2yZ4BepbrokSL byTXM61Krf2HFlQpuuv6acOvQHRc88FFkMVJDfSR0R/AqfvMdbEhE5wU2wEoDcRP1C9xAG 9lP3f88gC9FokW2pdESaKu5YCnHJMnX+o1P2y84WGt7xnws6Llr6xALNFjgYyd6FBrzxXH Wfb/ia4O582LgnfvFqSDbfPUd1e9+XT/WbaJXvq5RvsqlbbgXQdZxir7HB2DVec40wkL1M NA7IE2+RxeohnqyXFEl2UYMvjU8HzC5eSASOFkQ0xImGUO35+23UQxpEaMYIUw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gmzN51x9Yzj7K for ; Fri, 26 Jun 2026 14:59:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 20511 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 26 Jun 2026 14:59:17 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 7140742c8c68 - main - loader.efi: Add verbose flag to try_as_currdev List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7140742c8c684c96644c094ed489ff5167c77c5a Auto-Submitted: auto-generated Date: Fri, 26 Jun 2026 14:59:17 +0000 Message-Id: <6a3e93c5.20511.159e0024@gitrepo.freebsd.org> The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=7140742c8c684c96644c094ed489ff5167c77c5a commit 7140742c8c684c96644c094ed489ff5167c77c5a Author: Warner Losh AuthorDate: 2026-06-26 14:45:46 +0000 Commit: Warner Losh CommitDate: 2026-06-26 14:54:35 +0000 loader.efi: Add verbose flag to try_as_currdev Since we print almost everywhere before we call this, centralize the devpath to text dance here. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D57801 --- stand/efi/loader/main.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c index 1d91c8dd26ac..e11f8b1c3833 100644 --- a/stand/efi/loader/main.c +++ b/stand/efi/loader/main.c @@ -340,9 +340,20 @@ probe_md_currdev(void) } #endif +/* + * Try the passed in partition or entire disk to see if we can find a bootable + * partition or zpool. + */ static bool -try_as_currdev(pdinfo_t *hd, pdinfo_t *pp) +try_as_currdev(pdinfo_t *pp, bool verbose) { + if (verbose) { + CHAR16 *text = efi_devpath_name(pp->pd_devpath); + if (text != NULL) { + printf("Trying: %S\n", text); + efi_free_devpath_name(text); + } + } #ifdef EFI_ZFS_BOOT uint64_t guid;