Skip to content

support persistent data/mount#29

Open
jdoubleu wants to merge 1 commit intorichard-w:masterfrom
jdoubleu:persistent-store
Open

support persistent data/mount#29
jdoubleu wants to merge 1 commit intorichard-w:masterfrom
jdoubleu:persistent-store

Conversation

@jdoubleu
Copy link

@jdoubleu jdoubleu commented Aug 2, 2025

This small change introduces an option to mount a persistent drive, i.e. one that is not always created from scratch in a temporary location. This drive can be used to store persistent data across multiple boots (or tool invocations).

For example, the OVMF stores its non-volatile variables in a binary file called NvVars on the first mounted disk.


I've picked .uefi-run.persistent.fat to be stored in the user $HOME. Not sure whether that's the best location, but at least it should always be available. Hopefully, 4 MiB are enough.

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

Successfully merging this pull request may close these issues.

1 participant