hermit-os / hermit-os/kernel

Investigate `tarfs` support (as part of image support)

Open
#2,009 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.5k
Forks
132
Avg merge
1d 14h
Merged PRs (30d)
39

Description

This came up during work on https://github.com/hermit-os/uhyve/issues/1015.

This would be a way to reduce possible future code duplication / duplicated work between `loader` and `uhyve`.
The main alternative to this is:
* `uhyve` implements "virtual file descriptors" to refer to read-only segments / blobs / slices of (decompressed tar) files. (this is now done, but mostly because it was intended to get done even independently of this)
* `loader` implements a way to parse tar files and pass the file tree via FDT (device tree) to the kernel, the kernel would then handle this as a read-only file system. (this idea was ultimately rejected in favor of this)

cc @n0toose

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.