Symlinks under /proc
Sat Jan 29 18:05:00 GMT 2005
> Hi folks,
> I've checked in a patch which adds symlink handling to /proc.
> This allows to align /proc more closely to Linux' implementation:
> - /proc/self is now implmented as symlink to /proc/<curpid>
> - /proc/<pid>/root is a symlink to the root dir of the process.
> - /proc/<pid>/cwd is a symlink to the current working directory.
> - /proc/<pid>/exe substitutes /proc/<pid>/exename and is a symlink
> to the processes application file.
> I'm also planning to implement /proc/<pid>/fd/, a directory
> containing symlinks pointing to the files opened by that
> process, like this:
> 0 -> /dev/tty0
> 1 -> /home/corinna/foo
> 2 -> /dev/tty0
> If somebody's interested to do that, feel free.
This is great Corinna, thanks!
More information about the Cygwin-developers