Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Newer edit →
Dumping files
(edit)
Revision as of 11:54, 1 December 2014
31 bytes added
,
11:54, 1 December 2014
→State of File and Inode
Line 92:
Line 92:
Getting the Inode state is specific to Inode. CRIU uses the following sources of information:
Getting the Inode state is specific to Inode. CRIU uses the following sources of information:
−
#
Date
from ''/proc/$pid/fdinfo/$fd/''
+
#
Data
from ''/proc/$pid/fdinfo/$fd/''
# Link target of ''/proc/$pid/fd/$fd/'' link
# Link target of ''/proc/$pid/fd/$fd/'' link
# Inode-specific ioctl()-s
# Inode-specific ioctl()-s
−
#
read/recv/tee-s to fetch
data from
descriptor (pipe data,
socket queues
)
+
#
Fetch
data
directly
from
FD with recv + MSG_PEEK for
socket queues
and tee for pipes/fifos
−
# sock_diag
info
to get info about sockets
+
#
Info from
sock_diag
modules
to get info about sockets
[[Category:Under the hood]]
[[Category:Under the hood]]
Xemul
Bureaucrats
,
Administrators
2,257
edits