Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

features are not really documented properly #265

Open
hw-claudio opened this issue Mar 27, 2024 · 0 comments
Open

features are not really documented properly #265

hw-claudio opened this issue Mar 27, 2024 · 0 comments

Comments

@hw-claudio
Copy link

Hello,

I could not find no clear doc either in the cmdline tool itself, or in the manpage about what a certain option is supposed to do,
and how options are supposed to relate to each other.

./src/efivar --help
Usage: efivar [OPTION...]
-l, --list list current variables
^^^ where? In the local filesystem? In the file specified with "-f" ...?

-p, --print print variable specified by --name
^^^ on which variables does the command operate?

-D, --dmpstore use DMPSTORE format when exporting
-d, --print-decimal print variable in decimal values specified by --name
^^^ the decimal value is specified by --name?

-n, --name= variable to manipulate, in the form
8be4df61-93ca-11d2-aa0d-00e098032b8c-Boot0000
...
-f, --datafile= load or save variable contents from
^^^ which ACTIONS are affected by this option?

-e, --export= export variable to
^^^ export variable FROM where?

-i, --import= import variable from
^^^ import variable INTO where?

-L, --list-guids show internal guid list
-w, --write write to variable specified by --name

^^^ the variable in the file, or in the local machine or ???

Help options:
-?, --help Show this help message
^^^ the help function is not very helpful I think.


I attempted to run efivar -l -f datafile to get a list of the variable stored in this file, but to my surprise I got the variables in

/sys/firmware/efi/efivars/ , is this expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant