Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Message-ID: <42B27D08.7080601@hq.astra.ph>
Date: Fri, 17 Jun 2005 15:34:32 +0800
From: Carlo Florendo <list-subscriber@hq.astra.ph>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
MIME-Version: 1.0
To: sailorleo@isonews2.com
Cc: cygwin@cygwin.com
Subject: Re: POSIX devices
References: <42B2687C.4010601@vecernik.at> <42B269D5.2050907@hq.astra.ph> <42B2791B.2080003@isonews2.com>
In-Reply-To: <42B2791B.2080003@isonews2.com>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Arturus Magi wrote:

> Carlo Florendo wrote:
>
>> Oliver Vecernik wrote:
>>
>>> But how do I know the order of device names? It all depends when the
>>> devices are plugged on to the system. Is there a command to find out?
>>>
>>> dd if=/dev/sd? of=/tmp/foo bs=512 count=1
>>>
>>>  
>>>
>>
>> AFAIK, Cygwin does not implement the /dev directory.
>
>
> Cygwin does implement /dev (and /proc, plus the Windows specific 
> /registry), you just can't ls it because it's all internal redirection 
> magic.  There is a script (Google is your friend) to create and 
> populate /dev with null files as placeholders for working devices, so 
> that ls and the like can grab them. The Cygwin /dev magic will ignore 
> the files in favor of the virtual device handles when you actually try 
> to use them.
>

Excellent.  This was the correction I wanted to get.

Thanks a lot :)

-- 
Carlo Florendo
Astra Philippines Inc.
www.astra.ph


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

