This is the mail archive of the cygwin 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: request for /dev/stdin and friends


On Nov 16 09:27, Igor Peshansky wrote:

[YAFQ]

> On Thu, 16 Nov 2006, Corinna Vinschen wrote:
> > On Nov 15 06:40, Eric Blake wrote:
> > > [...] it seems like it
> > > might be nicer if cygwin/devices.in were to provide them natively for all
> > > users.
> >
> > Dunno about that.  On Linux, /dev/std{in,out,err} are just symbolic
> > links to fd/{0,1,2} and fd is just a symlink to /proc/self/fd.
> >
> > So what we should do here IMO is to augment the base-files package
> > to create a /dev directory and create a couple of standard symlinks
> > in it, which are not covered automatically by the Cygwin DLL.
> 
> There already was some discussion, ending in
> <http://cygwin.com/ml/cygwin-developers/2005-02/msg00010.html>, which
> never got a reply...

Isn't your create_devices script adding all the devices handled by
Cygwin?  The idea here is slightly different in that the script should
only create symlinks in /dev.  Device nodes for the exising Cygwin
devices are not actually necessary so we should be careful with them,
maybe.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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