proc/self/fd/N is approximately the same as /dev/fd/N in some UNIX and UNIX-like. systems.
proc/self/fd/N is approximately the same as /dev/fd/N in. some UNIX and UNIX-like systems. Most Linux MAKEDEV.
fd. Это подкаталог, содержащий одну запись на каждый файл, который в данный момент открыт процессом.
The proc file system is a pseudo-file system which is used as an interface to kernel data structures.
Probing /proc/self is a tricky business, since it changes for each process.
This has nothing to do with foreground and background processes; it only has to do with the currently running process. When the kernel has to answer the question “What does /proc/self point to?”, it simply picks the currently-scheduled pid, i.e. the currently running process (on the current logical CPU).
Got: they point to some random point on the root of the filesystem which doesn't exist. Effect: This breaks the command tty (and therefore tmux and various other programs) from a docker exec into the container. The reason is that readlink(/proc/self/fd/0) returns a path that doesn't exist.
proc - псевдо-файловая система с информацией о процессах.
/proc/self/fd/2. In php5-fpm.log add