diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2013-06-27 01:55:11 +0200 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2013-06-27 01:57:03 +0200 |
commit | 2b7a2ac5499783a094c71c35798e8a5a70912ef0 (patch) | |
tree | cbe49583949938ea5ab93cd2002a50ad78d8c176 /man5 | |
parent | f75715e003dff268f3927a729a510ef368535c97 (diff) |
proc.5: Document /proc/[pid]/fd/ anon_inode symlinks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man5')
-rw-r--r-- | man5/proc.5 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/man5/proc.5 b/man5/proc.5 index 9a8265d2..375a131a 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -242,6 +242,26 @@ For sockets, that inode can be used to find more information in one of the files under .IR /proc/net/ . +For file descriptors that have no corresponding inode +(e.g., file descriptors produced by +.BR epoll_create (2), +.BR eventfd (2), +.BR inotify_init (2), +.BR signalfd (2), +and +.BR timerfd (2)), +the entry will be a symbolic link with contents of the form + + anon_inode:<file-type> + +In some cases, the +.I file-type +is surrounded by square brackets. + +For example, an epoll file descriptor will have a symbolic link +whose content is the string +.IR "anon_inode:[eventpoll]" . + .\"The following was still true as at kernel 2.6.13 In a multithreaded process, the contents of this directory are not available if the main thread has already terminated |