|
FlatImage
A configurable Linux containerization system
|
Public Member Functions | |
| UnionFs (pid_t pid_to_die_for, fs::path const &path_dir_mount, fs::path const &path_dir_upper, fs::path const &path_file_log, std::vector< fs::path > const &vec_path_dir_layer) | |
| Construct a new Union Fs:: Union Fs 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 39 of file unionfs.hpp.
|
inline |
Construct a new Union Fs:: Union Fs object.
| pid_to_die_for | Pid the mount process should die with |
| path_dir_mount | Path to the mount directory |
| path_dir_upper | Upper directory where the changes of overlayfs are stored |
| vec_path_dir_layers | Vector of directories to overlay with overlayfs (bottom-up) |
Definition at line 62 of file unionfs.hpp.
|
inlineoverridevirtual |
Mounts the filesystem.
Implements ns_filesystem::Filesystem.
Definition at line 80 of file unionfs.hpp.