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 Message-ID: <427235F5.8040907@byu.net> Date: Fri, 29 Apr 2005 07:26:13 -0600 From: Eric Blake User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: can't access Serial Ports References: <20050428204626 DOT 29949 DOT qmail AT web54701 DOT mail DOT yahoo DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Igor Pechtchanski on 4/28/2005 2:59 PM: > /dev is currently a virtual directory in Cygwin. Try "ls -l /dev/ttyS1" > -- you should get a listing. If you want Tab-completion, or if you want > "find /" to look at the devices in /dev, you can create the /dev directory > and even populate it with dummy (and real) directory entries -- see > for a script > to do this. Otherwise, don't bother. Igor, your create devices script is a bit out-of-date; for example, it doesn't create /dev/full. And would creating /dev as a managed mount point to /cygdrive/?/cygwin/dev allow you to create a dummy /dev/com1? Also, why are you using touch(1) instead of mknod(1)? When accessed as /dev/*, the listing is correct, but when accessed via /cygdrive/?/cygwin/dev, the difference is apparent. Compare: $ cd /cygdrive/c/cygwin/dev $ touch full $ mknod -m 666 null c 1 3 $ ls -lF total 2 - -rw-r--r-- 1 eblake None 0 Apr 29 06:40 full srw-rw-rw- 1 SYSTEM root 53 Apr 28 06:08 log= crw-rw-rw- 1 eblake None 1, 3 Apr 29 06:40 null $ ls -lF /dev total 1 crw--w--w- 1 eblake None 1, 7 Apr 29 06:45 full srw-rw-rw- 1 SYSTEM root 53 Apr 28 06:08 log= crw-rw-rw- 1 eblake None 1, 3 Apr 29 06:45 null It looks like the relatively new syslogd is responsible for /dev/log. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCcjX184KuGfSFAYARAucZAJwKCgxQvWT8OMEyvByV4o+2mAMhxgCdGR18 VRsfvbqHgfFEbAZ7iMjCy9U= =uFoD -----END PGP SIGNATURE----- -- 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/