Line 68: |
Line 68: |
| : In these files exactly one entry is stored. | | : In these files exactly one entry is stored. |
| | | |
− | A file type can be guessed by the magic. The description of the entries in ProtocolBuffers language are in respective .proto files which reside in <code>protobuf/</code> directory in the source tree. | + | A file type can be guessed by the magic. The description of the entries in ProtocolBuffers language are in respective .proto files which reside in <code>images/</code> directory in the source tree. |
| | | |
| {|class="wikitable sortable" | | {|class="wikitable sortable" |
Line 83: |
Line 83: |
| |- | | |- |
| | reg-files || array || Paths to [[:Category:Files|files]] opened with <code>open(2)</code> syscall || - || regfile.proto | | | reg-files || array || Paths to [[:Category:Files|files]] opened with <code>open(2)</code> syscall || - || regfile.proto |
| + | |- |
| + | | ext-files || array || Files that are dumped/restored with plugins || - || ext-file.proto |
| + | |- |
| + | | ns-files || array || Linux procfs namespace entries || - || ns.proto |
| |- | | |- |
| | eventfd || array || Eventfd file information || - || eventfd.proto | | | eventfd || array || Eventfd file information || - || eventfd.proto |
Line 90: |
Line 94: |
| | eventpoll-tfd || array || Target file descriptors of eventpoll fds (merged into above) || - || eventpoll.proto | | | eventpoll-tfd || array || Target file descriptors of eventpoll fds (merged into above) || - || eventpoll.proto |
| |- | | |- |
− | | inotify || array || Inotify file information || - || intotify.proto | + | | inotify || array || Inotify file information || - || fsnotify.proto |
| |- | | |- |
− | | inotify-wd || array || Watch descriptors of inotify fds (merged into above) || - || inotify.proto | + | | inotify-wd || array || Watch descriptors of inotify fds (merged into above) || - || fsnotify.proto |
| |- | | |- |
| | signalfd || array || signalfd info || - || signalfd.proto | | | signalfd || array || signalfd info || - || signalfd.proto |
Line 120: |
Line 124: |
| | sk-queues || array || Contents of socket queues || <code>entry.length</code> bytes of data, one entry per packet || sk-packet.proto | | | sk-queues || array || Contents of socket queues || <code>entry.length</code> bytes of data, one entry per packet || sk-packet.proto |
| |- | | |- |
− | | itimers || array || Interval timers state (merged into core image) || - || itimer.proto | + | | itimers || array || Interval timers state (merged into core image) || - || timer.proto |
| |- | | |- |
| | creds || single-entry || Task credentials: uids, gids, caps, etc. || - || creds.proto | | | creds || single-entry || Task credentials: uids, gids, caps, etc. || - || creds.proto |
Line 160: |
Line 164: |
| == Raw images == | | == Raw images == |
| | | |
− | These images contain data that were collected by criu with the help of some external tools. | + | These images contain data collected by CRIU with the help of some external tools. |
| | | |
| {|class="wikitable sortable" | | {|class="wikitable sortable" |
Line 167: |
Line 171: |
| ! Tool supporting the format | | ! Tool supporting the format |
| ! Description | | ! Description |
| + | ! Decode command |
| |- | | |- |
− | | ifaddr || ip from iproute2 || IP addresses on network devices | + | | ifaddr || ip from iproute2 || IP addresses on network devices || <nowiki>cat ifaddr-8.img | ip addr showdump</nowiki> |
| |- | | |- |
− | | route || ip from iproute2 || Routing tables | + | | route || ip from iproute2 || Routing tables || <nowiki>cat route-8.img | ip route showdump</nowiki> |
| |- | | |- |
− | | tmpfs || tar + gzip || Contents of a tmpfs filesystem | + | | tmpfs || tar + gzip || Contents of a tmpfs filesystem || tar -tzf tmpfs-dev-49.tar.gz.img |
| |} | | |} |
| | | |