Changes
Jump to navigation
Jump to search
← 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
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ