Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: <20040327011419 DOT B14748 AT ns1 DOT iocc DOT com> <20040327175022 DOT GB3729 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; 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 > > >> > > > 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 > > >> > 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/