Date: Tue, 8 May 2018 20:02:40 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333384 - head/usr.sbin/efibootmgr Message-ID: <201805082002.w48K2eru024595@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Tue May 8 20:02:39 2018 New Revision: 333384 URL: https://svnweb.freebsd.org/changeset/base/333384 Log: efibootmgr.8: fix example The example given was for the old, and now deleted, Linux compatibility mode. Update the example for the current code. Submitted by: Vlad Movchan Modified: head/usr.sbin/efibootmgr/efibootmgr.8 Modified: head/usr.sbin/efibootmgr/efibootmgr.8 ============================================================================== --- head/usr.sbin/efibootmgr/efibootmgr.8 Tue May 8 19:43:57 2018 (r333383) +++ head/usr.sbin/efibootmgr/efibootmgr.8 Tue May 8 20:02:39 2018 (r333384) @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 8, 2017 +.Dd May 8, 2018 .Dt EFIBOOTMGR 8 .Os .Sh NAME @@ -111,10 +111,10 @@ variable. The .Nm program can be used to create new EFI boot variables. To create a new -boot var pointing to an installation on partition 1 of device ada0 using -the given loader with a description FreeBSD-11: +boot var pointing to an installation with its EFI partition mounted +under /mnt, the given loader and a label "FreeBSD-11": .Pp -.Dl efibootmgr -c -d ada0 -p 1 -l/EFI/BOOT/BOOTX64.EFI -L FreeBSD-11 +.Dl efibootmgr -c -l /mnt/EFI/BOOT/BOOTX64.EFI -L FreeBSD-11 .Pp This will result in the next available BootVarNum being assigned to a new UEFI load variable, and given the label "FreeBSD-11" such as:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805082002.w48K2eru024595>