Top | ![]() |
![]() |
![]() |
![]() |
Provides an object to store information about a filesystem attachment in the sandbox
The GVirSandboxConfigMount object stores information required to attach a host filesystem to the application sandbox. The sandbox starts off with a complete view of the host filesystem. This object allows a specific area of the host filesystem to be hidden and replaced with alternate content.
GVirSandboxConfigMountRam * gvir_sandbox_config_mount_ram_new (const gchar *targetdir
,guint64 usage
);
Create a new custom mount mapped to the directory targetdir
void gvir_sandbox_config_mount_ram_set_usage (GVirSandboxConfigMountRam *config
,guint64 usage
);
Sets the memory usage limit for the RAM filesystem in Kibibytes
guint64
gvir_sandbox_config_mount_ram_get_usage
(GVirSandboxConfigMountRam *config
);
Retrieves the memory usage limit for the RAM filesystem in Kibibytes