Symlinks under /proc
Corinna Vinschen
vinschen@redhat.com
Sat Jan 29 11:57: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.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
More information about the Cygwin-developers
mailing list