23 #ifndef DYNAMICMOUNTDETAILS_H
24 #define DYNAMICMOUNTDETAILS_H
26 #include "MountProperties.h"
28 #include <RdkPluginBase.h>
30 #include <sys/types.h>
60 const std::shared_ptr<DobbyRdkPluginUtils> &utils);
70 const std::string mRootfsPath;
72 const std::shared_ptr<DobbyRdkPluginUtils> mUtils;
Class that represents a single mount within a container when the source exists on the host.
Definition: DynamicMountDetails.h:47
bool onPostStop() const
Unmounts dynamic mounts.
Definition: DynamicMountDetails.cpp:204
bool addMount() const
Add mount between source and destination.
Definition: DynamicMountDetails.cpp:239
bool onCreateContainer() const
Adds bind mount only if source exists on the host.
Definition: DynamicMountDetails.cpp:127
bool onCreateRuntime() const
Creates destination path so it exists before mounting.
Definition: DynamicMountDetails.cpp:54
Dobby RDK Storage Plugin.
Definition: Storage.h:45
DynamicMountProperties struct used for Storage plugin.
Definition: MountProperties.h:51