From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2104.outbound.protection.outlook.com [40.92.91.104]) by server2.sourceware.org (Postfix) with ESMTPS id 33050387700E for ; Sat, 7 Mar 2020 20:36:58 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NTcgumhUeT9Maa4+xhbKl4rZa5hL2+HeQxECJ3KroUsvZZ7t3dth5Xa9spxvvA1ILzb1Ets67MGgXxNnX2gVvOqg0wDQXmN+ezsC4VvTlRFjficotaUQGoO6rd+dA+vk6JP5j4936JtafESLItO4imNHq1Muvu8YBGEEfUAJeb+bqCSMU11iKwictFozt3VTgxgepgTC61lQ/bsd0ZwGd8Ntz92uoxeTwcDov9jvuaDwdGqavuycyhzPekNmwL6il0uksGfNn9CrSp6NKmXX1NwLabM922YQM1DBHuwcJHsmlZoOGjVtadHxd7fQTlB+FjRmoFtyk0mZgIoCjHO69Q== 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=NcAGJ5PLe17jRAy0b8aw7NQT5OD5fCYt1sn0/Pumyj4=; b=gGmMk6o5z+5kkWAULiw4m3uwtL7gPpTbzpxBr3j3Bh3b/HHFvL5Oyxq3Zg/Pg7glKnh1epTy23wIOIxNU50YdpF3NX8vlM3wSXlKuMGMZK2CUMgKJ9asOZtGO721RVdlrvPe5hB8y1LAuqqPzfj8mqL++oB8oknwPdvaZSI6RaXP47+bBGXMecQyECWisBFhYzMQtYS2JteC6C4mlwA04rrSXEcgqEvCYOsB9CfIhMU6oz5WIkLSX+wxDdLIcoqh0y3wqF1vt4h7Pg94pPzK9HMcM5Ek74YiD9qX3R4uC1B4BJTI/VNZKn8oCMxYgoV7I6wWNMqQ18nh8QphDcwFKg== 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=NcAGJ5PLe17jRAy0b8aw7NQT5OD5fCYt1sn0/Pumyj4=; b=Q7iGmS9W4M8F6TCbb5PxiHQAtoTD/WBjSzcl3c7qIiyKEYtcef1U1FcokD6Evis9LgkLDE7DJ2x91pcWOPfpORjW5FEfbr/t9iPS+zUMZ+927wiJUyJ7MMrdQvMuADxA3IeTIwjQ02489ZbnstLDbH3iPQ7KnhdNMZAM23oWsW4oFnZmJCt7st+25sC6gAEoanWY2QGfnvfFbAhKuQexl0GX3KMR2gFaPF3syPVa+WHW4WiLJdCtucMUPu96+8jnENTDg1oGssJnF1aV9h3ACNQCADhxa2577QLZxrYJDnCiRla2TC8hLjqjaEB5gBU53gcXuf72R5NoA+fJnSqFvg== Received: from DB8EUR05FT006.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::33) by DB8EUR05HT062.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc0f::258) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.11; Sat, 7 Mar 2020 20:36:56 +0000 Received: from DB7PR01MB5193.eurprd01.prod.exchangelabs.com (10.233.238.56) by DB8EUR05FT006.mail.protection.outlook.com (10.233.238.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2793.11 via Frontend Transport; Sat, 7 Mar 2020 20:36:56 +0000 Received: from DB7PR01MB5193.eurprd01.prod.exchangelabs.com ([fe80::2490:19bb:989:6820]) by DB7PR01MB5193.eurprd01.prod.exchangelabs.com ([fe80::2490:19bb:989:6820%5]) with mapi id 15.20.2793.013; Sat, 7 Mar 2020 20:36:56 +0000 From: Hashim Aziz To: "cygwin@cygwin.com" Subject: Re: cat /proc/partitions shows only devices, not partitions Thread-Topic: cat /proc/partitions shows only devices, not partitions Thread-Index: AQHV8Xklt7/FJm/Kt0mUnGjBV2hrRKg9nLbO Date: Sat, 7 Mar 2020 20:36:56 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:3641155A9472C9534F1506CCD81B740CE076C0944109E2FE7A8A72C413D765AD; UpperCasedChecksum:8C8B7D2B61AAA25CA90E87B312C22E429FDCCE710D5442A1E3A2F327E1247AD2; SizeAsReceived:7012; Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [WY6uEbOe+XJS6x7eC5rbqTr6f+QHKI5aknrGET2Q8vc=] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: ccd57d76-2bdf-43e2-e6a5-08d7c2d7476b x-ms-traffictypediagnostic: DB8EUR05HT062: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LOmxVIvJhPMhAgyBeGIQ6X2zWKEdUEBjTPFZ/5ND/0rz8DpjePLqAOzyuZ13Wql8fdK82GJV1SimE85SiqjZL8wPBa+5OzpFvcEieEfWxzIk5gbDs8z04os03N32OLEpqyQbCCFpxfrb55FBTfISXwqYhXXk7BabGynpRbfdKHElaAGcYkVzbHxLq5ZH9mYF x-ms-exchange-antispam-messagedata: z4q7SvXu/F7acwBgFRpiwXOVF9ovW5H/+XPR2bltvaf+gt0Rlk4uUDqYVUkyunVKl4tyajXQrItmQ1VnxATXoSjvMXIX4N90S5u1V0f1YG+3hAOWteA4pNo5sx37cjcEvt1VbS8hffwJT02DlqdkEQ== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: ccd57d76-2bdf-43e2-e6a5-08d7c2d7476b X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2020 20:36:56.7585 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8EUR05HT062 X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2020 20:37:00 -0000 An update to this, I resorted to nuking and then re-installing Cygwin from = scratch, and the problem STILL persists. This seems to suggest that somethi= ng is wrong with Windows itself that is responsible for Cygwin no longer be= ing able to see the the drive letters that partitions are mounted at, but w= hat that something could be I have no idea anymore. ________________________________ From: Hashim Aziz Sent: 03 March 2020 4:32 PM To: cygwin@cygwin.com Subject: Re: cat /proc/partitions shows only devices, not partitions Yes, this was what I expected you meant by elevated shell. I tried that ear= lier and got no luck (though I tried the link to the Cygwin terminal in my = start menu not a desktop shortcut), and I just tried again after attempting several pe= rmissions fixes but still no luck. The permissions fixed I tried were: - Right-clicking and deselecting Read-Only on the cygwin64 folder - Resetting permissions with the CMD command: icacls c:\cygwin64 /reset /t = /l /c - Taking control of the Cygwin folder with the following command (itself ru= n from an elevated window): $ chown $USER /* -v ownership of '/bin' retained as Hashim chown: changing ownership of '/cygdrive': Permission denied failed to change ownership of '/cygdrive' from Hashim to Hashim chown: changing ownership of '/Cygwin.bat': Permission denied failed to change ownership of '/Cygwin.bat' from Hashim to Hashim chown: changing ownership of '/Cygwin.ico': Permission denied failed to change ownership of '/Cygwin.ico' from Hashim to Hashim chown: changing ownership of '/Cygwin-Terminal.ico': Permission denied failed to change ownership of '/Cygwin-Terminal.ico' from Hashim to Hashim ownership of '/dev' retained as Hashim ownership of '/etc' retained as Hashim ownership of '/home' retained as Hashim ownership of '/lib' retained as Hashim ownership of '/opt' retained as Hashim chown: changing ownership of '/proc': Operation not permitted failed to change ownership of '/proc' from Hashim to Hashim ownership of '/sbin' retained as Hashim ownership of '/srv' retained as Hashim ownership of '/tmp' retained as Hashim ownership of '/usr' retained as Hashim ownership of '/var' retained as Hashim Whether the above output is normal or not I'm unsure. From: Corinna Vinschen Sent: Tuesday, March 03, 2020 10:44 AM To: Hashim Aziz Cc: cygwin@cygwin.com Subject: Re: cat /proc/partitions shows only devices, not partitions On Mar 3 00:54, Hashim Aziz wrote: > Hey Corinna, thanks for your quick reply. > > Regarding the elevated shell - I'm unsure of exactly how to run an > elevated Cygwin shell? Right click on the Cygwin Terminal icon on the desktop, choose the item "Run as administrator". I have no idea why your system has different permissions, but at least you should be able to see the info in an elevated shell. Corinna -- Corinna Vinschen Cygwin Maintainer