Missing /dev

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Wed Jan 21 21:22:00 GMT 2004


On Wed, Jan 21, 2004 at 02:25:13PM -0500, Igor Pechtchanski wrote:
>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

Cygwin has had a proper mk*nod* for a while, and, theoretically, it
should have been working in 1.5.6, although I just tried it with the
latest snapshot and it seems to be broken currently.

cgf

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



More information about the Cygwin mailing list