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: <42B27D08.7080601@hq.astra.ph> Date: Fri, 17 Jun 2005 15:34:32 +0800 From: Carlo Florendo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616 MIME-Version: 1.0 To: sailorleo AT isonews2 DOT com Cc: cygwin AT cygwin DOT com Subject: Re: POSIX devices References: <42B2687C DOT 4010601 AT vecernik DOT at> <42B269D5 DOT 2050907 AT hq DOT astra DOT ph> <42B2791B DOT 2080003 AT isonews2 DOT 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/