delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Sun, 7 Aug 2011 13:38:04 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: pb w/ cygpath -w /dev/sdXY (was Re: Device names in /proc/mounts) |
Message-ID: | <20110807113804.GH11601@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20110729092027 DOT GA19240 AT calimero DOT vinschen DOT de> <9B10FEAACF062F48A095880A451FF05903819B331A AT DEMCHP99E84MSX DOT ww902 DOT siemens DOT net> <20110729201556 DOT GA13084 AT calimero DOT vinschen DOT de> <4E3DD3E1 DOT 3040903 AT laposte DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <4E3DD3E1.3040903@laposte.net> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Aug 7 01:53, Cyrille Lefevre wrote: > some times ago, someone (you?) modifies cygpath to handle /dev/sdXY paths. > > however, it seems there is a problem somewhere ? > > v2$ uname -a > CYGWIN_NT-6.0 pcvista 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin > > v2$ /usr/sbin/blkid > /dev/sda1: LABEL="BOOT500G0 (CW_VM_2)" UUID="905A77A75A77892C" TYPE="ntfs" > /dev/sda2: LABEL="DATA500G0 (DL_2)" UUID="3CBA5BBFBA5B747C" TYPE="ntfs" > /dev/sda3: LABEL="RECOVER_2" UUID="8644-3F52" TYPE="vfat" > /dev/sda4: UUID="e57dd3da-585e-4d23-9761-f714c75f32c0" > SEC_TYPE="ext2" TYPE="ext3" > /dev/sda5: UUID="138b9a25-2681-4b4f-a428-ff8dd62e18ff" TYPE="swap" > /dev/sdb1: LABEL="ESATA2T1 (MOVIES)" UUID="1E5275B85275956D" TYPE="ntfs" > /dev/sdc1: LABEL="ESATA2T2 (OAV_SERIES_BD_DOC_PSP)" > UUID="DE6EC4C36EC49625" TYPE="ntfs" > /dev/sdd1: LABEL="SATA500G0 (BOOT_CW_VM)" UUID="905A77A75A77892C" > TYPE="ntfs" > /dev/sdd2: LABEL="SATA500G1 (DL)" UUID="4024F55724F55080" TYPE="ntfs" > /dev/sdd3: LABEL="RECOVER" UUID="8644-3F52" TYPE="vfat" > /dev/sde1: LABEL="SATA500G2 (EMULE_NORTON)" UUID="886606C66606B54A" > TYPE="ntfs" > /dev/sdi1: LABEL="USB500G1 (MM_OLD_TUHS)" UUID="4CA87E8AA87E7276" > TYPE="ntfs" > /dev/sdj1: LABEL="USB1T1 (REPS)" UUID="FEB2DCA1B2DC5FA7" TYPE="ntfs" > > v2$ cygpath -w $(/usr/sbin/blkid | cut -d: -f1 > \\.\E: > \\.\G: > \\.\H: > \\.\STORAGE#Volume#1&19f7e59c&0&Signature1A08653EOffset320053F800Length12996C000#{7f108a28-9833-4b3b-b780-2c6b5fa5c062} > \\.\STORAGE#Volume#1&19f7e59c&0&Signature1A08653EOffset3329EB3600Length11A5CA00#{7f108a28-9833-4b3b-b780-2c6b5fa5c062} > \\.\I: > \\.\J: > \\.\C: > \\.\D: > E:0 > E:1 > E:5 > E:6 > > sda1..5 ok > sdb1, sdc1, sdd1..2 ok > sdd3 ko E:0 instead of R: > sde1 ko E:1 instead of S: > sdi1 ko E:2 instead of F: > sdj1 ko E:3 instead of K: > > any ideas ? No. I don't see what's going on inside and I don't have an environment available to reproduce the problem. This appears to occur inside of cygpath's get_device_name(), a simple ~140 lines function. Care to debug it yourself? Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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 |