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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=GR/p7McueFWmVN91ahqhtU12CE2RknVmOiMVQZb95IwrO/zTH6rDT r7wzu+/vCAjF8+VCBh3m/rUVbiKU3/SLi50kFPoy7iZ6DOFXw8fhnc1GLo/jx/zc nqsenNESRkSsT2shA9HrF0+sf2cuxoksIArRzj5rIta2PWVV19xjxE= 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:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=3Ra504YG/YEW3LW5wt3Ud3AF5CI=; b=UMktGJU+dMCJnH9a5WM30TzvgCGc ep2ySyC351Z8QPFBiapx6D34Hdq3PS9SK6jbED0uuVWoPU6m1WGnKKKybylbAZVu g1mmTOYqm7h8rwKqp8AU/Jv4CLumm+UCbHWd9bDwwJ3QZC8dv0PV629jeRttnb1X /BNtDuByiG5XAi4= 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=-106.1 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=folder, Resetting, deselecting, CMD X-HELO: mout.kundenserver.de Date: Tue, 3 Mar 2020 17:46:10 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cat /proc/partitions shows only devices, not partitions Message-ID: <20200303164610.GF4045@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="AO7xfgsPaN7qs9GL" Content-Disposition: inline In-Reply-To: --AO7xfgsPaN7qs9GL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 3 16:32, Hashim Aziz wrote: > Yes, this was what I expected you meant by elevated shell. I tried that e= arlier and got no luck (though I tried the link to the Cygwin terminal in m= y start menu=20 > not a desktop shortcut), and I just tried again after attempting several = permissions fixes but still no luck. >=20 > The permissions fixed I tried were: >=20 > - 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 = run from an elevated window): > [...] When I was talking about permissions, I was talking about permissions on the native Windows devices, not any permissions on Cygwin files.=20 The strace output shows that you don't have permissions to call DeviceIoControl(IOCTL_DISK_GET_PARTITION_INFO) or DeviceIoControl(IOCTL_DISK_GET_PARTITION_INFO_EX) on the devices representing the partitions in the native NT device namespace, i.e., \Device\Harddisk0\Partition0, etc. Corinna --=20 Corinna Vinschen Cygwin Maintainer --AO7xfgsPaN7qs9GL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl5eidIACgkQ9TYGna5E T6Ab0A/+PdotSG48t4HKNv+oCHE/cTKYRIXRcfw99gL1QC2dkiQ6PwCkBzAJun+W AG1Gli3cXqE8aDlh80gnp85DFYj3V8cQrZYuep6990WVVA6qHQGy1LWfYAiG6Dqs i14zFXA4NjJkG4j8Drk0u1GrnTt2reH19X0oXtdnI+5xYpTAYWd51/moLQ1Ltlf4 /PAt3FRjkFZJVDl2REKJxaLoZyPhGl8DUmaUi69uj9whE3JmueyNAFgqOkgpb8WL xZFn7pSHZlPffBWMzbRpjTwoKRPHaq2XFGKrNYqIwUXCrOQFIdERNgAYOWVQKRvb tA+WeKxpBUCjfS7hEki9oLoB+O7PmLMOAvNZ/zJdm3g6sK5fZxfgXLmcQiY4ikq4 1YZvhCOD/fz55kF/3GlqO/zLkxGCHQwJGl6daeMA/PcJPeuZdDdyg9zlB2y07JHE 5k/gKfNH2vlJbhtcvweSlU/TycAA9nU4eML3fInGXKRfUliipT3lup3LsFIk18xo tniq7+N0fY/l0dJnm24YVN+QWkVmOzKq3r87pBR8B19/jNMvYcc4TqGeAyU7mwsx nH2vzwQum9xUt3xfMGVCcJePDz4dV1+P/vNXvm1fs227zv004Qvv2zX/MgrYyxG5 d2PpaXLO2pR9Uj6NOQE/gxY3zub5eNcPGMD5LuXfVzleWArvJgw= =0s3z -----END PGP SIGNATURE----- --AO7xfgsPaN7qs9GL--