-----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 > <http://www.cygwin.com/cygwin-ug-net/using-specialnames.html> 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 [EMAIL PROTECTED] -----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/