delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/09/19/18:51:08

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=jsfL3dPZilP3cLaU
qf2vjzXTcBQWmfIj7L/m4/EXdFPM8890/jN8u1Ucu0ok5/J0SfunPhF6Jbl+umXy
4qSr2tAWLaX3lN7/hzTvxeCjX0/+R5z1c5+Sjjo8pHQMpvCQeGaphR/1dpfVr3JF
ki1da2f5qCHrsnE7yoNvn2ti/3w=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=wNABGeJIAaXQMgWfsupCgE
49oxs=; b=BOMhknduIiB7XO/CPdnuljH8fkiS2BQrDbG3uGgvw0owTW2ipRjALm
VB689jTk+pU9swUOcgg8t3slLD+CsSy890PhgufwQToB8JbhSpbtaCEWYnqqzcP6
ek5PyYbb6D0aeeg7CrVLzPt2wNxzk1ei8Tuf6FyLFxUKLJd0B/9mc=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=UD:ru, H*M:yandex, terrible, H*UA:Bat!
X-HELO: forward102o.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1568933402; bh=zKg6KzFHt+FBGbHEWRbFqQuixfcFzmB12jvIxtKk8ek=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=bXcheJ/kCeTc1ixXThwLlAaFkJqiuTC4+SoaKpb7gIUGStL7kJc2bGgkfHpADmW6+ RY1lahiVODgTZ/GVaVIiYr9joMzY/nCpc7vJLy/L+BWz3pisrn5gaYs/YuLH32dGof 01LBxj9d5osMmBh+kxcDTlilV8UCzL7ffEIWjZNU=
Authentication-Results: mxback8o.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Fri, 20 Sep 2019 01:38:16 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <92933314.20190920013816@yandex.ru>
To: Hashim Aziz <hashaziz AT hotmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: win-mounts no longer displays anything when doing "cat /proc/partitions"
In-Reply-To: <AM4PR0101MB2258DDE0970BBD16BE40BB3FD5890@AM4PR0101MB2258.eurprd01.prod.exchangelabs.com>
References: <AM4PR0101MB2258DDE0970BBD16BE40BB3FD5890 AT AM4PR0101MB2258 DOT eurprd01 DOT prod DOT exchangelabs DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Hashim Aziz!

> I've been using Cygwin loyally for almost 5 years now, and throughout that
> time have found the win-mounts column invaluable to find a drive or USB's
> /dev/sdX mapping, by doing cat /proc/partitions. I haven't run that command
> in a while, however, and today I realised that this functionality no longer
> seems to work - no Windows drive mapping information displays in the
> win-mounts column, so now I'm unable to determine which drive /dev/sdX
> corresponds to.

$ mountvol
[ snip ]
Possible values for VolumeName along with current mount points are:

    \\?\Volume{80006d80-c2bb-4297-93c1-2f6d1a2a8acb}\
        C:\
        C:\dev\sda1\

    \\?\Volume{6833c423-2223-11e4-b07d-806e6f6e6963}\
        *** NO MOUNT POINTS ***

    \\?\Volume{6833c424-2223-11e4-b07d-806e6f6e6963}\
        *** NO MOUNT POINTS ***

    \\?\Volume{9d412aba-0e54-4628-9c6b-b84fb18d062a}\
        *** NO MOUNT POINTS ***

    \\?\Volume{6833c441-2223-11e4-b07d-806e6f6e6963}\
        *** NO MOUNT POINTS ***

    \\?\Volume{6833c442-2223-11e4-b07d-806e6f6e6963}\
        *** NO MOUNT POINTS ***

    \\?\Volume{6833c443-2223-11e4-b07d-806e6f6e6963}\
        *** NO MOUNT POINTS ***

    \\?\Volume{6833c444-2223-11e4-b07d-806e6f6e6963}\
        *** NO MOUNT POINTS ***

    \\?\Volume{1530eb84-587d-11e9-a744-902b3437d8e4}\
        W:\

    \\?\Volume{152b5e11-3180-11e4-9bb8-806e6f6e6963}\
        R:\

$ cat /proc/partitions
major minor  #blocks  name   win-mounts

    8     0  78150744 sda
    8     1    102400 sda1
    8     2    131072 sda2
    8     3  77916160 sda3   C:\ C:\dev\sda1\
    8    16 488386584 sdb
    8    17 486615520 sdb1
    8    32 312571224 sdc
    8    33 312568641 sdc1
    8    48 488386584 sdd
    8    49 488384512 sdd1
    8    64         0 sde
    8    80         0 sdf
    8    96         0 sdg
    8   112         0 sdh

Seems all right on this end.


-- 
With best regards,
Andrey Repin
Friday, September 20, 2019 1:36:47

Sorry for my terrible english...


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019