X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0	tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Rolf Campbell <rcampbell-cygwin@dragonwaveinc.com>
Subject: Re: associating device names with cygdrive directories
Date: Thu, 26 Aug 2010 08:11:57 -0400
Lines: 24
Message-ID: <i55lme$egd$1@dough.gmane.org>
References: <4C757349.902@bellsouth.net> <20100825200335.GA14607@ednor.casa.cgf.cx> <0105D5C1E0353146B1B222348B0411A20946F38B4B@NIHMLBX02.nih.gov> <20100826112641.GB21513@calimero.vinschen.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
In-Reply-To: <20100826112641.GB21513@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2010-08-26 07:26, Corinna Vinschen wrote:
> I have another one:
>
>    $ for F in /dev/s* ; do echo "$F    $(cygpath -w $F)" ; done
>    /dev/sda    \\.\PhysicalDrive0
>    /dev/sda1    \\.\STORAGE#Volume#{781f8bd6-7d0d-11de-8012-806e6f6e6963}#0000000000100000#{53f5630d-b6bf-11d0-94f2-00a0c91efb8b}
>    /dev/sda2    \\.\Volume{781f8bda-7d0d-11de-8012-806e6f6e6963}
>    /dev/sda3    \\.\D:
>
> but there are two problems.
>
> Up to the current Cygwin 1.7.6 the info from /proc/partitions is
> incomplete for non-privileged users.  I just checked in a patch to
> Cygwin which allows the full partition info also for non-priv'ed users.
>
> Apart from that, the output of cygpath -w for devices isn't overly
> helpful yet.  I look into improving that a bit.
>
>
> Corinna
>

When I run "echo /dev/s*", I only get "/dev/shm /dev/stderr /dev/stdin 
/dev/stdout", how/why is yours showing the drive devices?


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

