Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/efivar/efivar.8
.\" | .\" | ||||
.\" Copyright (c) 2017-2019 Netflix, Inc. | .\" Copyright (c) 2017-2021 Netflix, Inc. | ||||
.\" | .\" | ||||
.\" Redistribution and use in source and binary forms, with or without | .\" Redistribution and use in source and binary forms, with or without | ||||
.\" modification, are permitted provided that the following conditions | .\" modification, are permitted provided that the following conditions | ||||
.\" are met: | .\" are met: | ||||
.\" 1. Redistributions of source code must retain the above copyright | .\" 1. Redistributions of source code must retain the above copyright | ||||
.\" notice, this list of conditions and the following disclaimer. | .\" notice, this list of conditions and the following disclaimer. | ||||
.\" 2. Redistributions in binary form must reproduce the above copyright | .\" 2. Redistributions in binary form must reproduce the above copyright | ||||
.\" notice, this list of conditions and the following disclaimer in the | .\" notice, this list of conditions and the following disclaimer in the | ||||
.\" documentation and/or other materials provided with the distribution. | .\" documentation and/or other materials provided with the distribution. | ||||
.\" | .\" | ||||
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND | ||||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||||
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE | ||||
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||||
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd June 18, 2020 | .Dd April 7, 2021 | ||||
.Dt EFIVAR 8 | .Dt EFIVAR 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm efivar | .Nm efivar | ||||
.Nd UEFI environment variable interaction | .Nd UEFI environment variable interaction | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl abdDHlLNpRtuw | .Op Fl abdDHlLNpRtuw | ||||
markj: List -q here too? | |||||
.Op Fl n Ar name | .Op Fl n Ar name | ||||
.Op Fl f Ar file | .Op Fl f Ar file | ||||
.Op Fl -append | .Op Fl -append | ||||
.Op Fl -ascii | .Op Fl -ascii | ||||
.Op Fl -attributes | .Op Fl -attributes | ||||
.Op Fl -binary | .Op Fl -binary | ||||
.Op Fl -delete | .Op Fl -delete | ||||
.Op Fl -device-path | .Op Fl -device-path | ||||
.Op Fl -fromfile Ar file | .Op Fl -fromfile Ar file | ||||
.Op Fl -guid | .Op Fl -guid | ||||
.Op Fl -hex | .Op Fl -hex | ||||
.Op Fl -list-guids | .Op Fl -list-guids | ||||
.Op Fl -list | .Op Fl -list | ||||
.Op Fl -load-option | .Op Fl -load-option | ||||
.Op Fl -name Ar name | .Op Fl -name Ar name | ||||
.Op Fl -no-name | .Op Fl -no-name | ||||
.Op Fl -print | .Op Fl -print | ||||
.Op Fl -print-decimal | .Op Fl -print-decimal | ||||
.Op Fl -quiet | |||||
.Op Fl -raw-guid | .Op Fl -raw-guid | ||||
.Op Fl -utf8 | .Op Fl -utf8 | ||||
.Op Fl -write | .Op Fl -write | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
This program manages | This program manages | ||||
.Dq Unified Extensible Firmware Interface | .Dq Unified Extensible Firmware Interface | ||||
.Pq UEFI | .Pq UEFI | ||||
environment variables. | environment variables. | ||||
▲ Show 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | |||||
.Fl -print | .Fl -print | ||||
flag is also listed, their values will be displayed. | flag is also listed, their values will be displayed. | ||||
.It Fl -load-option | .It Fl -load-option | ||||
Decode the variable as if it were a UEFI Boot Option, including information about what device and/or paths the UEFI DevicePaths decode to. | Decode the variable as if it were a UEFI Boot Option, including information about what device and/or paths the UEFI DevicePaths decode to. | ||||
.It Fl N Fl -no-name | .It Fl N Fl -no-name | ||||
Do not display the variable name. | Do not display the variable name. | ||||
.It Fl p Fl -print | .It Fl p Fl -print | ||||
Print the value of the variable. | Print the value of the variable. | ||||
.It Fl q Fl -quiet | |||||
When an error occurs, exit with a non-zero value without outputting any error messages. | |||||
Otherwise, produce the normal output and exit with a zero status. | |||||
.It Fl R Fl -raw-guid | .It Fl R Fl -raw-guid | ||||
Do not substitute well known names for GUID numeric values in output. | Do not substitute well known names for GUID numeric values in output. | ||||
.It Fl u Fl -utf8 | .It Fl u Fl -utf8 | ||||
Treat the value of the variable as UCS2 and convert it to UTF8 and | Treat the value of the variable as UCS2 and convert it to UTF8 and | ||||
print the result. | print the result. | ||||
.It Fl w Fl -write | .It Fl w Fl -write | ||||
Write (replace) the variable specified with the value specified from | Write (replace) the variable specified with the value specified from | ||||
standard input. | standard input. | ||||
Show All 35 Lines |
List -q here too?