This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]