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]

Updated create_devices.sh [Was Re: suid bit on executables?]


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.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

Attachment: create_devices.sh
Description: Text document

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