| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,SPF_HELO_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4C767DE2.4060805@veritech.com> |
| Date: | Thu, 26 Aug 2010 10:44:50 -0400 |
| From: | "Lee D. Rothstein" <l1ee057 AT veritech DOT com> |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: associating device names with cygdrive directories |
| References: | <4C757349 DOT 902 AT bellsouth DOT net> <20100825200335 DOT GA14607 AT ednor DOT casa DOT cgf DOT cx> <0105D5C1E0353146B1B222348B0411A20946F38B4B AT NIHMLBX02 DOT nih DOT gov> |
| In-Reply-To: | <0105D5C1E0353146B1B222348B0411A20946F38B4B@NIHMLBX02.nih.gov> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| 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 |
On 8/25/2010 4:32 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> $ for F in /dev/s* ; do echo "$F $(cygpath -w $F)" ; done
> /dev/scd0 \\.\D:
> /dev/scd1 \Device\CdRom1
> /dev/scd2 \Device\CdRom2
> /dev/sda \\.\PhysicalDrive0
> /dev/sda1 \\.\Volume{39f65722-0106-11df-b1c0-806d6172696f}
> /dev/sda2 \Device\Harddisk0\Partition2
> /dev/sdb \Device\Harddisk1\Partition0
> /dev/sdb1 \Device\Harddisk1\Partition1
> /dev/sdb2 \Device\Harddisk1\Partition2
> /dev/sdc \Device\Harddisk2\Partition0
> /dev/sdc1 \Device\Harddisk2\Partition1
> /dev/sdc2 \Device\Harddisk2\Partition2
> /dev/shm C:\cygwin\dev\shm
> /dev/sr0 \\.\D:
> /dev/sr1 \Device\CdRom1
> /dev/sr2 \Device\CdRom2
> /dev/st0 \Device\Tape0
> /dev/st1 \Device\Tape1
> /dev/st2 \Device\Tape2
> /dev/stderr \dev\tty
> /dev/stdin \dev\tty
> /dev/stdout /proc/2476/fd/pipe:[504]
I'm running Cygwin 1.7.6-1, and when I use your command ('for F in
...'), above, I
don't get all the devices in your list (for those that I have). Instead
I get:
/dev/shm C:\_0\dev\shm
/dev/stderr \dev ty0
/dev/stdin \dev ty0
/dev/stdout /proc/4876/fd/pipe:[800]
What's missing? At least:
* ty1
* 2 HD partitions
* 1 1.5 TB USB drive
* 1 TB RAID 0
* 2 CD/DVD drives (one USB, one internal)
* CF drive
* USB 16 GB flash drive
This is not earth shattering since everything (AFAIK) works (with either
Windoze
or Cygwin), but what's the deal, do you think?
Thx,
Lee
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |