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: <42B2791B.2080003@isonews2.com> Date: Fri, 17 Jun 2005 03:17:47 -0400 From: Arturus Magi Reply-To: sailorleo AT isonews2 DOT com User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 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> In-Reply-To: <42B269D5.2050907@hq.astra.ph> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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. -- 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/