why cannot I see serial devices using ls

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Sep 22 17:29:00 GMT 2010


On 9/22/2010 8:41 AM, JonMcG wrote:
>
> I have decided to  port some code to cygwin from linux. It uses serial ports
> and under linux I can
> ls -l /dev/tty*
> If I do this under cygwin I get nothing. If I do
> ls -l /dev
> I only get a few device. However if I do
> ls -l /dev/ttyS0
> or
> ls -l /dev/com1
> then I get what I would expect.
> I have searched cygwin FAQ etc and this forum but didn't find anything.
> Anybody any ideas what I have to do?

Read the User's Guide:

<http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices>

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list