|
FlatImage
A configurable Linux containerization system
|
Public Member Functions | |
| Dwarfs (pid_t pid_to_die_for, fs::path const &path_dir_mount, fs::path const &path_file_image, fs::path const &path_file_log, uint64_t offset, uint64_t size_image) | |
| Construct a new Dwarfs:: Dwarfs object. | |
| Value< void > | mount () override |
| Mounts the filesystem. | |
Public Member Functions inherited from ns_filesystem::Filesystem | |
| virtual | ~Filesystem () |
| Destroy the Filesystem:: Filesystem object, it un-mounts the filesystem and sends a termination signal. | |
| Filesystem (Filesystem &&)=default | |
| Filesystem (Filesystem const &)=delete | |
| Filesystem & | operator= (Filesystem &&)=default |
| Filesystem & | operator= (Filesystem const &)=delete |
Additional Inherited Members | |
Protected Member Functions inherited from ns_filesystem::Filesystem | |
| Filesystem (pid_t pid_to_die_for, std::filesystem::path const &path_dir_mount, std::filesystem::path const &path_file_log) | |
| Construct a new Filesystem object. | |
Protected Attributes inherited from ns_filesystem::Filesystem | |
| pid_t | m_pid_to_die_for |
| std::filesystem::path | m_path_dir_mount |
| std::filesystem::path | m_path_file_log |
| std::unique_ptr< ns_subprocess::Child > | m_child |
Definition at line 37 of file dwarfs.hpp.
|
inline |
Construct a new Dwarfs:: Dwarfs object.
| pid_to_die_for | Pid the mount process should die with |
| path_dir_mount | Path to the mount directory |
| path_file_image | Path to the flatimage file |
| offset | Offset to the filesystem start |
| size_image | Image length |
Definition at line 62 of file dwarfs.hpp.
|
inlineoverridevirtual |
Mounts the filesystem.
Implements ns_filesystem::Filesystem.
Definition at line 82 of file dwarfs.hpp.