This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Symlinks under /proc
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: cygwin-developers at cygwin dot com
- Date: Sat, 29 Jan 2005 12:51:38 +0100
- Subject: Symlinks under /proc
- Reply-to: cygwin-developers at cygwin dot com
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.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.