Repository navigation
var_store: persistent /private/var under AVF (from hackios-xnu-userland#14) - #27
Merged
Merged
Conversation
…k), periodic and SIGTERM saves hackios-xnu-userland#14 (a draft) brought into this repository after the move, through the rename: var_store keeps /private/var on /dev/rufs_darwin on the phone and otherwise on the second virtio disk, /dev/rrvblk1 (all of it, two slots); `watch` saves every var_store_every=SECS seconds and once more on SIGTERM, through a sigaction trampoline of its own (libmini has no signals); the job gets ExitTimeOut 60. Without var_store=1 nothing changes: the job ends at once, as before. The prebuilt var_store of the draft is left out: it was built from the names before the rename, and a build from source makes it. For Scion's install 2: disk.1=var.img (sparse, 512 MB), disk.1.writable=true, and params var_store=1 virtio_blk_rw=1 var_store_every=300. Tested on QEMU before the move (first boot: no store yet, the watcher, a save into slot 0). Not yet: a second boot loading the store back, the SIGTERM save, the phone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports the draft hackios-xnu-userland#14 here after the move into one repository, through the redwood to hakios rename: var_store keeps /private/var on the second virtio disk under AVF, with periodic and SIGTERM saves. It is inert without var_store=1. The draft's prebuilt binary is left out because it was built from pre-rename source; source builds compile var_store.
Tested on QEMU before the move. Still untested: loading back on a second boot, the SIGTERM save, and the phone.
🤖 Generated with Claude Code