Metadata-Version: 2.1
Name: efi-monitor
Version: 0.0.1
Summary: Check for efi dump files with `efi-check` or remove efi dump files with `efi-clear`.
Home-page: https://github.com/ambauma/efi-monitor
Author: ambauma
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
License-File: LICENSE
Provides-Extra: test
Requires-Dist: pydocstyle (>=6.1.1) ; extra == 'test'
Requires-Dist: pytest (>=7.0.1) ; extra == 'test'
Requires-Dist: pylint (>=2.12.2) ; extra == 'test'
Requires-Dist: pytest-mockito (>=0.0.4) ; extra == 'test'
Requires-Dist: pytest-cov (>=3.0.0) ; extra == 'test'

# efi-monitor
A simple utility to handle efi dump files.  These variables look something like `/sys/firmware/efi/efivars/dump-type0-11-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0` and cause me to get a message on boot that "Non-volatile memory is almost full" and blocks directly booting.

## Usage

```bash
sudo su
pip install efi-monitor
efi-check  # will list dump files if they exist
efi-clear  # will delete dump files if they exist
```

### Usage Example

```bash
user@machine:~$ efi-check 
/sys/firmware/efi/efivars/dump-type0-11-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
/sys/firmware/efi/efivars/dump-type0-10-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
/sys/firmware/efi/efivars/dump-type0-9-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
/sys/firmware/efi/efivars/dump-type0-8-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
/sys/firmware/efi/efivars/dump-type0-7-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
/sys/firmware/efi/efivars/dump-type0-6-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
/sys/firmware/efi/efivars/dump-type0-5-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
/sys/firmware/efi/efivars/dump-type0-4-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
/sys/firmware/efi/efivars/dump-type0-3-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
/sys/firmware/efi/efivars/dump-type0-2-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
/sys/firmware/efi/efivars/dump-type0-1-1-1645468022-C-cfc8fc79-be2e-4ddc-97f0-9f98bfe298a0
user@machine:~$ sudo su
[sudo] password for user: 
root@machine:~# efi-clear
```


