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:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=aCg MBSxMtl52XtFCYyPvLJ4KBCyUJV1HI4dv2xo696epv24rltilLvCk21zBFIbkXrD 2hnhkFOmXKPk5UxOIINbYY4uLxIhp1T3UODBWgskwtxDLJQDvVwADChzXX0DhU4g ozw/Xk5ySYK6OyvfVWaUlAnR2OiAndM7VP+DwBMc= 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:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=default; bh=y0yABv3Zu +dtpHDOKknuQD9bxfE=; b=iy/36pZw9pjv/pXobMRaUN6XDZ/VAFUYW/BAujZkZ DfI92EIBMLWMPPrzgNXQQu/iw9CBh4m94tXz9BwNQo97yNvQc+c5ymWl8KfvQfkE L9e9vc65DPChu3hbq5DDLGa9xh9E0/zus4T5Qn1pKqwjJLyR7uT8D0BqBtw3DFnl t4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.0 required=5.0 tests=BAYES_00,FORGED_HOTMAIL_RCVD2,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 spammy=mounted, sde, volume, H*F:D*hotmail.com X-HELO: EUR04-DB3-obe.outbound.protection.outlook.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FXcTRiWTUJgZ5K/KLFrWXc+5iTq8VNbfHhqS2+0DoeKKzdza280dfa5lyy/a9ooWi+jp5rrOu6gIu0TI+KZbDHwKBoqdWEx3FP8WjFcbZT8ec3m6BY/6O7Qb4SZW5xgmTym2FHq++uaXwDaS5egRWd22Vzy4up15H+7JL+6yayrcKq8LqD9tB7rc8NJFz6/O43HQFb9aZ72fQ0u7Zyh978hBmYg/d+x8O3yPoqDNlj6XBugoFE8qGeyZ4OJm72S5BMpwldghRadHUckoxX6MhHZc1MCBofmz/0o2dKi8A034y2nn4apDQRnBUPATuTk1QT7cjfZ0Z1cJ3g9m+hq12Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lRZLEbocBtT8sT/vIl1nV9CKSVwi4nA3wUyz1u34w8k=; b=U2hZnq7tJGXRnVuqFYswJfp6wKrRWLKOGTnuGlVNK5oA8xu/xGtYdFDoxBaEh95MhXEVOM3qFSLS3iv78F1YR6a9BKnZ7dTr9s2WIbogLTyhuTiAUtg1De+iIAZL+pihnAUG8pr5o/6Ke6Hizwe/bkSo3IJRkiNBETk0qkkMWgy52ZRFfXCHG2Y/v0+cyMVYD4TaCEiTzLfNytqcXKCl1aVvAeA1qCfkMrsPmzSTe3YKjqfwPvNNbwOlaJRqh8MhmZNFuHSNQWbEJhbnQ2l/gTxijeALrtv7h3AlNZ/CZ8iip0z8UbSeylvnWpjHLzAC9Ny9jBQ766gtmQnOqSa6HA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lRZLEbocBtT8sT/vIl1nV9CKSVwi4nA3wUyz1u34w8k=; b=RX9Zos5dPO+d9/mZxmBtyTJRJ1Xx4hTfZTKX1cxagh/2DLtyDWtg3H7UdmJ1RmZTj0a6SGDk1g07c3+pfsd2WtUN5yyfN7o26hDFii5CPj/9cusE+qDRf7hhKr7Ld/rufX3gvKK1dlyVwDo1x/NXch35s0cxkDjlXBfojuuFrmpQ2qViN4c2UojKOzNbCan+Rs6+4oduI9Un8Jte90Z/+cXGJmhWSPkqKgJonY0jWby5beI6gWLDNBbQ3GNsKtwdOJx3x9cvu/I5x5aMarJu28nxiW2BXspi/Jfy2xdCo2t7PHI9ktJvIakDjjy7t+oolDeL0faeVjLHXZ6BSWTGOw== From: Hashim Aziz To: cygwin Subject: cat /proc/partitions shows only devices, not partitions Date: Sun, 1 Mar 2020 21:16:10 +0000 Message-ID: x-ms-exchange-antispam-messagedata: F5IOB6kK2XSgp7rlMS3ZgwoSRMcmb8PbF1gn3OFWzM0zt6kAtx4jQuqdvgUaMAljKk5sK+dbESdiSAUS9GNy27dKQRhtutxghKrp3DS/XwkYfKQC2vQSynRUlI6nm7sJzwqfM6easo3kfj7kGc10Ww== x-ms-exchange-transport-forked: True MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 021LGmRD004333 This was an issue that I had previously in September of last year and sent the issue to this mailing list ("win-mounts no longer displays anything when doing "cat /proc/partitions") but the issue stopped occurring before I could get around to diagnosing it. This issue has now re-occurred and this time it seems permanent. When I run: $ cat /proc/partitions major minor #blocks name win-mounts 8 0 0 sda 8 16 0 sdb 8 32 0 sdc 8 48 0 sdd 8 64 0 sde 8 80 0 sdf ...I see nothing at all in the win-mounts column. This makes it impossible for me to see which Windows drive letter maps to which /dev/sdX entry. On closer inspection, this seems to be because I'm not actually seeing any partitions of my drives, even though there are many - for example, I see /dev/sda but no /dev/sda1 or /dev/sda2, and because it's the partitions that are mounted, it's this that seems to result in me seeing nothing in the win-mounts column. I'm running Cygwin on Windows 7 (yes I'm aware it's EOL). For testing purposes I also ran the following command (for obvious reasons I don't want to have run something like this to find my drive mappings): $ for disk in /dev/sd*; do echo -n $disk$'\t'; cygpath -m $disk; done /dev/sda //./PhysicalDrive0 /dev/sda1 //./D: /dev/sdb //./PhysicalDrive1 /dev/sdc //./PhysicalDrive2 /dev/sdc1 //./Volume{88cc26b4-e0e5-11e9-9cc4-806e6f6e6963} /dev/sdc2 //./C: /dev/sdd //./PhysicalDrive3 /dev/sdd1 //./B: /dev/sde //./PhysicalDrive4 /dev/sde1 //./HarddiskVolume5 /dev/sde2 //./E: /dev/sdf //./PhysicalDrive5 /dev/sdf1 //./I: ​Thanks in advance for any help with this, it would be very much appreciated as I rely on Cygwin a lot. -- 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