X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk
Message-ID: <4C9A4207.9080405@cygwin.com>
Date: Wed, 22 Sep 2010 13:51:03 -0400
From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [bulk] - R: /dev/ttys* under cygwin problem
References: <8CCC8F85C5F2784387A32FAD835FB4E602F21573F3@server03> <358785.53873.qm@web25505.mail.ukl.yahoo.com> <8CCC8F85C5F2784387A32FAD835FB4E602F21573F7@server03> <0105D5C1E0353146B1B222348B0411A2094D31E89D@NIHMLBX02.nih.gov> <4C9A3CFA.9090507@fgm.com>
In-Reply-To: <4C9A3CFA.9090507@fgm.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 9/22/2010 1:29 PM, Daniel Barclay wrote:
> Buchbinder, Barry (NIH/NIAID) [E] wrote:
> ...
>> To go there directly:
>> http://www.cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-posixdevices
>>
>
> Regarding where that page says:
>
> These devices cannot be seen with the command ls /dev/ ...
>
> I've wondered about that--why aren't those special files listed in a
> directory listing?
>
> (The Cygwin DLL makes those device files appear when they are referred
> to by full pathname; why doesn't it also make them appear in the
> containing directory's listing?)

They are implemented in a virtual file system.  It is not necessary that
there be placeholders in the file system for them to work.  But if you
prefer that, you can add them.  This is why the documentation has a link
to the script to create the devices in the file system:

<http://cygwin.com/ml/cygwin/2004-03/txt00028.txt>

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

