| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.6 required=5.0 tests=AWL,BAYES_40,T_RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| X-IronPortListener: | Outbound_SMTP |
| From: | "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov> |
| To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
| Date: | Wed, 25 Aug 2010 16:32:18 -0400 |
| Subject: | RE: associating device names with cygdrive directories |
| Message-ID: | <0105D5C1E0353146B1B222348B0411A20946F38B4B@NIHMLBX02.nih.gov> |
| References: | <4C757349 DOT 902 AT bellsouth DOT net> <20100825200335 DOT GA14607 AT ednor DOT casa DOT cgf DOT cx> |
| In-Reply-To: | <20100825200335.GA14607@ednor.casa.cgf.cx> |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| 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 Wed, Aug 25, 2010 at 02:47:21PM -0500, Charles D. Russell wrote:
>On Linux, the mount command reveals the association between filesystem=20
>names and /dev/ names, but Cygwin mount doesn't tell.
Is this what you want? (The multiple spaces are really tabs.)
$ 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]
- Barry
Disclaimer: Statements made herein are not made on behalf of NIAID.
--
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 |