www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 <sailorleo AT isonews2 DOT com> |
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> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |