This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pb w/ cygpath -w /dev/sdXY (was Re: Device names in /proc/mounts)

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"
> 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?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]