Changes

Jump to navigation Jump to search
No change in size ,  04:47, 1 November 2016
m
Line 127: Line 127:     
=== External files, FIFOs ===
 
=== External files, FIFOs ===
"criu dump" tries to resolve paths for each files, so the first example works only for files which can be resolved from dumped mount namespaces. If we have a file from another namespace, we call it as "external" and criu isn't able to restore it without external help. We need to enumerate all external files on dump and set inherit file descriptors on restore. This descriptors will be used only to open a file via <code>/proc/self/fd</code>, so it doesn't metter with which flags an inherited descriptor has been opened. The format of file id is <code>file[mnt_id:inode]</code>.
+
"criu dump" tries to resolve paths for each files, so the first example works only for files which can be resolved from dumped mount namespaces. If we have a file from another namespace, we call it as "external" and criu isn't able to restore it without external help. We need to enumerate all external files on dump and set inherit file descriptors on restore. This descriptors will be used only to open a file via <code>/proc/self/fd</code>, so it doesn't matter with which flags an inherited descriptor has been opened. The format of file id is <code>file[mnt_id:inode]</code>.
    
<pre>
 
<pre>

Navigation menu