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 Thu, 16 Nov 2006, Corinna Vinschen wrote:

> 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.

The script does both.  We can extract the piece that adds symlinks.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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]