Changes

Jump to navigation Jump to search
43 bytes added ,  19:39, 20 September 2016
Line 45: Line 45:  
When restoring cgroups CRIU may meet already existing cgroup controllers and as result it relies on user choice how to behave in such case: should it overwrite existing properties with values from the image or should ignore them? Or maybe it is unacceptable to modify any existing cgroup?
 
When restoring cgroups CRIU may meet already existing cgroup controllers and as result it relies on user choice how to behave in such case: should it overwrite existing properties with values from the image or should ignore them? Or maybe it is unacceptable to modify any existing cgroup?
   −
To break a tie CRIU supports that named restore modes, which should be specified as an addition to <code>--manage-cgroups</code> option. Mode may be one of the following:
+
To break a tie CRIU supports that named restore modes, which should be specified as an addition to <code>--manage-cgroups=''mode''</code> option. The <code>''mode''</code> argument may be one of the following:
   −
# <code>none</code>. Do not restore cgroup properties but require cgroup to pre-exist at the moment of restore procedure.
+
* <code>none</code>. Do not restore cgroup properties but require cgroup to pre-exist at the moment of restore procedure.
# <code>props</code>. Restore cgroup properties and require cgroup to pre-exist.
+
* <code>props</code>. Restore cgroup properties and require cgroup to pre-exist.
# <code>soft</code>. Restore cgroup properties if only cgroup has been created by *criu*, otherwise do not restore properies.
+
* <code>soft</code>. Restore cgroup properties if only cgroup has been created by *criu*, otherwise do not restore properies.
# <code>full</code>. Always restore all cgroups and their properties.
+
* <code>full</code>. Always restore all cgroups and their properties.
# <code>strict</code>. Restore all cgroups and their properties from the scratch, requiring them to not present in the system.
+
* <code>strict</code>. Restore all cgroups and their properties from the scratch, requiring them to not present in the system.
   −
By default <code>soft</code> is assigned if <code>--manage-cgroups</code> option passed without argument (i.e. the same as <code>--manage-cgroups=soft</code>).
+
By default, <code>soft</code> is assigned if <code>--manage-cgroups</code> option passed without an argument (i.e. the same as <code>--manage-cgroups=soft</code>).
    
[[Category:Under the hood]]
 
[[Category:Under the hood]]

Navigation menu