Changes

Jump to navigation Jump to search
619 bytes added ,  07:48, 3 December 2014
Created page with "In Linux files may be inaccessible for open() but still be present in the system. This can happen in several ways and this page is about how this can happen and what CRIU does..."
In Linux files may be inaccessible for open() but still be present in the system. This can happen in several ways and this page is about how this can happen and what CRIU does about it.

== How file can lose it's path ==

This is pretty simple. A process may do this series of operations
<pre>
int fd = open("/foo/bar");
unlink("/foo/bar");
</pre>
After it the /foo/bar file will have its name removed from the filesystem tree (and from the on-disk data too), but since the file is still held by the process (this structure is explained in the article about [[dumping files]]), the blob with data itself is still there.

Navigation menu