delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/29/01:57:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 29 Mar 2004 00:57:50 -0600
From: Joshua Daniel Franklin <joshuadfranklin AT yahoo DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Updated create_devices.sh [Was Re: suid bit on executables?]
Message-ID: <20040329005750.A8247@ns1.iocc.com>
References: <Pine DOT LNX DOT 4 DOT 33 DOT 0403231056290 DOT 1808-100000 AT denzel DOT sciencetools DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403231420110 DOT 19995 AT slinky DOT cs DOT nyu DOT edu> <20040327011419 DOT B14748 AT ns1 DOT iocc DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403271218510 DOT 18236 AT slinky DOT cs DOT nyu DOT edu> <20040327175022 DOT GB3729 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403281900400 DOT 18236 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5.1i
In-Reply-To: <Pine.GSO.4.56.0403281900400.18236@slinky.cs.nyu.edu>; from pechtcha@cs.nyu.edu on Sun, Mar 28, 2004 at 07:10:03PM -0500

On Sun, Mar 28, 2004 at 07:10:03PM -0500, Igor Pechtchanski wrote:
> On Sat, 27 Mar 2004, Christopher Faylor wrote:
> 
> > On Sat, Mar 27, 2004 at 12:34:17PM -0500, Igor Pechtchanski wrote:
> > >On Sat, 27 Mar 2004, Joshua Daniel Franklin wrote:
> > >
> > >> On Tue, Mar 23, 2004 at 02:38:36PM -0500, Igor Pechtchanski wrote:
> > >> >
> > >> > > > FYI, Cygwin implements /dev/conin and /dev/conout, so, perhaps, the
> > >> > > > approach suggested in <http://cygwin.com/ml/cygwin/2004-03/msg00259.html>
> > >> > > > would be helpful (or something along those lines).
> > >> > >
> > >> > > I tried man and apropos, and found nothing for conin or conout,
> > >> >
> > >> > Technically, you should have been able to look at
> > >> > <http://cygwin.com/cygwin-ug-net/using-specialnames.html> instead...  The
> > >> > Cygwin User's Guide makes for wonderful and exciting bed-time reading. ;-)
> > >> > However, the above document is strangely silent on the topic of
> > >> > conin/conout...  As things stand now, looking at the Cygwin source is
> > >> > probably your best bet.
> > >>
> > >> OK, there is now a more exhaustive list in the User's Guide.
> > >> Feel free to correct.
> > >
> > >Looks good.  I believe the socket devices are missing, though.
> >
> > The socket stuff disappeared a while ago.  I'm not sure why I left /dev/pipe
> > in since it shouldn't be needed anymore, either.
> >
> > This is the definitive list from devices.in:
> >
> > /dev/tty
> > /dev/tty%(0-63)d
> > /dev/console
> > /dev/ttym
> > /dev/ptmx
> > /dev/windows
> > /dev/dsp
> > /dev/conin
> > /dev/conout
> > /dev/null
> > /dev/zero
> > /dev/random
> > /dev/urandom
> > /dev/mem
> > /dev/kmem
> > /dev/clipboard
> > /dev/port
> > /dev/com%(0-16)d
> > /dev/ttyS%(0-15)d
> > /dev/pipe
> > /dev/fifo                       # Not yet implemented
> > /dev/st%(0-127)d
> > /dev/nst%(0-127)d
> > /dev/fd%(0-15)d
> > /dev/scd%(0-15)d
> > /dev/sr%(0-15)d
> > /dev/sd%{a-z}s
> > /dev/sd%{a-z}s%(1-15)d
> >
> > cgf
> 
> Thanks.  In this case, I'm attaching the updated create_devices.sh (which
> will be made obsolete once /dev is a real directory).  Until then, I hope
> it helps someone.


Yes, I had gotten that same list from the source (though I missed kmem).
I put a link in to your script, too, Igor, after trying it out. 


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019