|
FlatImage
A configurable Linux containerization system
|
Overlay filesystem type selection in reserved space. More...
Functions | |
| Value< void > | write (fs::path const &path_file_binary, OverlayType const &overlay) |
| Writes a overlay mask to the flatimage binary. | |
| Value< OverlayType > | read (fs::path const &path_file_binary) |
| Read the overlay mask from the flatimage binary. | |
Overlay filesystem type selection in reserved space.
This namespace manages the overlay filesystem type stored as a single-byte mask in the binary's reserved space. It allows selection between different overlay implementations: BWRAP (bubblewrap native), OVERLAYFS (fuse-overlayfs), and UNIONFS (unionfs-fuse). The overlay type determines how the writable layer is merged with read-only base layers to create the final root filesystem.
|
inline |
Read the overlay mask from the flatimage binary.
| path_file_binary | Path to the flatimage binary |
Definition at line 72 of file overlay.hpp.
|
inline |
Writes a overlay mask to the flatimage binary.
| path_file_binary | Path to the flatimage binary |
| overlay | Overlay type enumeration |
Definition at line 48 of file overlay.hpp.