From nobody Mon Dec 18 17:10:37 2023 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 4Sv5tj5Bmjz54ljP; Mon, 18 Dec 2023 17:10:37 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sv5tj4MXGz3JMs; Mon, 18 Dec 2023 17:10:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702919437; 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=wnXX5eLx8Zh8sX7zdu6jlBwc53FCLbDesfMI/p6h1oI=; b=XEJwszZJiYHXRTfDauyb4cBDByU+lxQYqUv+MBkBdkLVfpbbLEjGG5i809agbYF4qsBzsM vOM5gpo3RFU1kd1+a7EvHlIdX8iITatXQI40tHvTYMz0TN5vcelWqVZhV210zBu39++DEL Hh9sFdBKEld3J3h4EjFVsfhPOZOxsmdjiCPZOtnwAqt0p0mZW/znJkWQM5XiEFohWR0zXD nE5W3sritLMrJ/Y1gHp0SCaa7fpcswV2jSxj69Dp4Pw5uQh14jD7HJtTNH09c91ehlpUzz rzlSvA5pl9IlJ5pGtfP7nDNNFS2Eanu+cADSNgPVyr+FkyFl4pnVQfCtVOemYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702919437; a=rsa-sha256; cv=none; b=ksTlQxs9vZ6H68n5J7dRv+NB4FpocW0cCl+Lt9Mzq5ejVqKfXsYMzgt0R5CuzVv//pXCQG PefKhBmOjySvb+KsHvCbMYpvwS7miKmse/aukN/bqghyaD2LxauWb21B0VZNf0/rDhfJzm 88u1w5hd0MNoxrBLQEvaK9w6glkNhCv+FL5Gdvh9C07Np1Uxiiop6ABXku25XdiH8V8BIy 0VvsNW1wGsHy79Gc6Io05KEUDDSgCHpx/16k9+XI6A9mLhV6gofZmUFUdzSDImwrgmhVP5 Jsk0TgeiokOlGXQALobctYLHOgBsud1JrhxtuTPccm6e92xQDpARPGWcy7qonQ== 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=1702919437; 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=wnXX5eLx8Zh8sX7zdu6jlBwc53FCLbDesfMI/p6h1oI=; b=hQAzZrh29oBXsm3kCvOC/Oee2odfJWoR9bZZ4mWu6JGfBE5WR8m6rZ3ExVNOQq7K9hpG4k DGT6IKm3m6SUzD1+/8HrR+Qj7WL3MF2FZp8hQvE92RmndBMnsvxUPDkyfhdbdGjjRdTkup n0fAtFlTLiKxPGp9I3dnQ90WCqWft/ABXIMZOtIaJ2CCPyh2Cs4iuobXJ52gHRB9T5hPSg tsA8z23nRuTh5zgToKSFpolM8zVKkjG6fqCZzsyYWFgn6MFpY4p12KJl+8QL4uut1Mmk5d MbYaOVOLQ/vm8141KSPjynXxs02BZzsHhtNiUtOyigxEX31SWLJpXO3SVnTCjQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sv5tj3SlqzTyj; Mon, 18 Dec 2023 17:10:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BIHAb81081435; Mon, 18 Dec 2023 17:10:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BIHAbLc081432; Mon, 18 Dec 2023 17:10:37 GMT (envelope-from git) Date: Mon, 18 Dec 2023 17:10:37 GMT Message-Id: <202312181710.3BIHAbLc081432@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: e02bee0b3e30 - main - efibootmgr: Report the path to the device 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org 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: e02bee0b3e30aae85efc882ddae19ae508c3866b Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=e02bee0b3e30aae85efc882ddae19ae508c3866b commit e02bee0b3e30aae85efc882ddae19ae508c3866b Author: Warner Losh AuthorDate: 2023-12-18 17:06:27 +0000 Commit: Warner Losh CommitDate: 2023-12-18 17:09:13 +0000 efibootmgr: Report the path to the device Report the entire path to the device, rather than the the bit after /dev/ for the --esp command. Nothing in the tree depends on the output format: Only bsdinstall's bootconfig script calls efibootmgr, and it doesn't use the --esp/-E flag. Sponsored by: Netflix --- usr.sbin/efibootmgr/efibootmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/efibootmgr/efibootmgr.c b/usr.sbin/efibootmgr/efibootmgr.c index 65ab247fb271..4a6a7fdfec39 100644 --- a/usr.sbin/efibootmgr/efibootmgr.c +++ b/usr.sbin/efibootmgr/efibootmgr.c @@ -1052,7 +1052,7 @@ report_esp_device(bool do_dp, bool do_unix) abspath[strlen(abspath) - strlen(relpath) - 1] = '\0'; printf("%s\n", abspath); } else { - printf("%s\n", dev); + printf("/dev/%s\n", dev); } free(dev); free(relpath);