This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
RE: Symlinks under /proc
- From: "Chris January" <chris at atomice dot net>
- To: <cygwin-developers at cygwin dot com>
- Date: Sat, 29 Jan 2005 18:05:17 -0000
- Subject: RE: Symlinks under /proc
> 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!
Chris