This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Missing /dev
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Kaz Kylheku <kaz at ashi dot footprints dot net>
- Cc: cygwin at cygwin dot com
- Date: Wed, 21 Jan 2004 14:25:13 -0500 (EST)
- Subject: Re: Missing /dev
- References: <Pine.LNX.4.44.0401210841460.2918-100000@ashi.FootPrints.net>
- Reply-to: cygwin at cygwin dot com
On Wed, 21 Jan 2004, Kaz Kylheku wrote:
> This is a tiny little annoyance in Cygwin: various device paths exist,
> like your controlling terminal /dev/conin. However, there is no actual
> /dev directory in the filesystem.
>
> This confuses some programs that do parsing on the path rather than
> just pass the entire string to open(). E.g. CLISP's file I/O library:
>
> [6]> (with-open-file (f "/dev/conin" :direction :input) (read f))
>
> *** - nonexistent directory: #P"/dev/"
>
> The simple workaround is to ``mkdir /dev'', but would it be a bad idea
> for the Cygwin installer to create this directory?
AFAIK, once Cygwin has proper mkdev, /dev will be a real directory. Until
then, you can use the script from
<http://cygwin.com/ml/cygwin-xfree/2004-01/msg00353.html> to get a proper
/dev directory.
Igor
P.S. The CLISP maintainer might want to try to fix the above in any case.
--
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
--
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/