Symlinks under /proc

Corinna Vinschen
Mon Jan 31 21:03:00 GMT 2005

On Jan 31 12:43, Igor Pechtchanski wrote:
> On Mon, 31 Jan 2005, Corinna Vinschen wrote:
> > On Jan 31 12:20, Igor Pechtchanski wrote:
> > > That's cool.  Don't want to seem pushy, but how hard would it be to go
> > > from the above to /dev/std{in,out,err}?  Come to think of it, it may even
> > > be as easy as "ln -s /proc/self/fd/0 /dev/stdin", etc...  That would
> > > really help some apps, especially those that don't understand the "-"
> > > filename argument.
> >
> > Why don't you just try it?  Experiments are the bread and butter of
> > progress, aren't they?
> D'oh!  After all this thought process, I looked on Linux, and that's
> *exactly* how /dev/std* are implemented there.

Talking about experiments, did you also try it on Cygwin if it works or
did you just look on Linux how it's implemented there?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader
Red Hat, Inc.

More information about the Cygwin-developers mailing list