From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: pb w/ cygpath -w /dev/sdXY (was Re: Device names in /proc/mounts)
Date: Sun, 07 Aug 2011 11:38:00 -0000 [thread overview]
Message-ID: <20110807113804.GH11601@calimero.vinschen.de> (raw)
In-Reply-To: <4E3DD3E1.3040903@laposte.net>
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
next prev parent reply other threads:[~2011-08-07 11:38 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-25 12:30 Device names in /proc/mounts Schwarz, Konrad
2011-07-25 14:01 ` Corinna Vinschen
2011-07-27 8:15 ` Schwarz, Konrad
2011-07-27 8:35 ` Schwarz, Konrad
2011-07-27 9:41 ` Corinna Vinschen
2011-07-27 11:19 ` Christopher Faylor
2011-07-28 8:18 ` Schwarz, Konrad
2011-07-28 11:22 ` Christopher Faylor
2011-07-29 7:46 ` Schwarz, Konrad
2011-07-29 9:21 ` Corinna Vinschen
2011-07-29 13:34 ` Schwarz, Konrad
2011-07-29 20:16 ` Corinna Vinschen
2011-07-30 4:53 ` Christopher Faylor
2011-07-30 8:18 ` Corinna Vinschen
2011-08-01 13:10 ` Nellis, Kenneth
2011-08-01 13:22 ` Christopher Faylor
2011-08-06 23:53 ` pb w/ cygpath -w /dev/sdXY (was Re: Device names in /proc/mounts) Cyrille Lefevre
2011-08-07 11:38 ` Corinna Vinschen [this message]
2012-09-13 16:27 ` associating volume labels with drive letters Nellis, Kenneth
2012-09-26 6:22 ` Mark O'Keefe
2012-09-26 13:43 ` Nellis, Kenneth
2012-10-19 18:45 ` Nellis, Kenneth
2012-10-19 18:52 ` Corinna Vinschen
2011-07-29 21:28 ` Device names in /proc/mounts Buchbinder, Barry (NIH/NIAID) [E]
2011-07-25 15:07 ` Christopher Faylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110807113804.GH11601@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).