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=QQl1UexYGbzEQl/l2bMc3gTXmML+Mow34WEbk0spAIN8la5PyzHXN sJF4CQiHCBtyTzE6iSbaNgjj+QCH7wKD+v+18usrELAuz++FR9AWZcFAwDCsL1ZS yRa4mLuOnsRmyCSV+O3dipC57s8AkqypfRGHvMmzQlYNw11XubyB6I= 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=DwAd0PGCAd7ZGO54//uAnxDEBME=; b=an/osDy6XhNuOwSosMh6pgeqhks9 5wPxmTx7wLmpK/UvvyVQAlX0eGDaPUGPyyNKGHud76X1Uk3FG85Q2JLgzF7SUiI1 JQ8uvjcbFfnLJeumnDUbBe8KGvrI3o7GdXdeeGUl910b2GdLBAmKnwf8mZVbQXhX ARHzvdqQAa9JWs0= 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=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=administrator, Administrator, sda1, 21012019 X-HELO: mout.kundenserver.de Date: Mon, 21 Jan 2019 18:15:56 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: /proc/partitions changed ? Message-ID: <20190121171556.GG2802@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <525bc717-095e-51f2-b56b-fef03664c77e AT gmail DOT com> <19412ec7-c761-32db-85fb-3d0242cbf2a3 AT cs DOT umass DOT edu> <20190121083955 DOT GA2802 AT calimero DOT vinschen DOT de> <6b17df27-8511-016c-878c-d90f1899fb3f AT gmail DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y" Content-Disposition: inline In-Reply-To: <6b17df27-8511-016c-878c-d90f1899fb3f@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) --f2QGlHpHGjS2mn6Y Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 21 16:03, Marco Atzeri wrote: > Am 21.01.2019 um 09:39 schrieb Corinna Vinschen: > > Hi Marco, > >=20 > > On Jan 20 20:48, Marco Atzeri wrote: > > > Am 20.01.2019 um 19:36 schrieb Eliot Moss: > > > > On 1/20/2019 1:05 PM, Marco Atzeri wrote: > > > > > Am 20.01.2019 um 18:51 schrieb Henry S. Thompson: > > > > > > Marco Atzeri writes: > > > > > >=20 > > > > > > > In the past I saw > > > > > > > ... > > > > > > > but now the win-mounts version are missing > > > > > > >=20 > > > > > > > $ cat /proc/partitions > > > > > > > major minor=C2=A0 #blocks=C2=A0 name=C2=A0=C2=A0 win-mounts > > > > > > >=20 > > > > > > > =C2=A0=C2=A0=C2=A0=C2=A0 8=C2=A0=C2=A0=C2=A0=C2=A0 0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 sda > > > > > > > =C2=A0=C2=A0=C2=A0=C2=A0 8=C2=A0=C2=A0=C2=A0 16=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 sdb > > > > > > >=20 > > > Windows 10 Home > > > Version 1803 > > >=20 > > > so or it is Windows or is a BLODA effect > >=20 > > As for the others, WFFM on W10 Enterprise 1809 with the latest > > Cygwin snapshot code. I'd bet on BLODA. Alternatively this may be > > permission problem of some sort. > >=20 > > Can you please run this command under strace and send the strace output? > >=20 > >=20 > > Thanks, > > Corinna >=20 > attached the strace of cat /proc/partitions >=20 > I guess my AV is blocking access to the partitions, also when > I am running as Administrator. >=20 > format_proc_partitions: DeviceIoControl (Harddisk0\Partition0, > IOCTL_DISK_GET_PARTITION_INFO{_EX}) Win32 error 5 That's the problem. Due to this, the info for the partition isn't printed at all. > However the info is available in other way >=20 > $ cygpath -w /dev/sda > \\.\Disk{ba1707c6-547e-6b0e-d636-d2fa8ccffbf6} >=20 > $ cygpath -w /dev/sda1 > \\.\D: That's not the same thing. This information *would* be available, but it's only fetched if the partition info could be fetched. What's actually missing is access to the partitions and their size, not access to the mount points to partitions. That's why you only see sda and sdb, but not any one of the partitions. I don't see how to print /proc/partitions correctly without this info. Corinna --=20 Corinna Vinschen Cygwin Maintainer --f2QGlHpHGjS2mn6Y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxF/kwACgkQ9TYGna5E T6Dysw/6AoA2gp4NVEBbbix5a1hPhsIelYhAPWxD5G6cBd8j5WaiJmiulJ/4wYxc HmSTrjK8Cl4X0BT1QasKdGq5rgiJJ/1nbz/dTWvpDMW+i6F7AT5cfgsubTUNz73f S9uKC3m+07WdI1vr0Suiqw4Q7JuTh3NKZV35YytI2Bk6VHBwBKW7j4+yCzO91DIH VwIszE6ZVSKjK2SEX5gGKo4S4tp7G1vZ7WNe/+08m+khbPNy3ZounuDO/bZ4h1Ws BCXOtKU78qsybkVwunkx2bI7UKvoyiQVY5gIf7aVyYL23F7Ogjm3GtaM9duQdNja 3fnF13b7X5dw7Miya2FaGSsfGK5kNJ7GRUbp1PFIsThzB8sf05ckdjNGko4s/R8Q u6RFMx4ZiaVWI0EcQMfiMBUVHn7NFHA8VQzTtq9x1o2W/h1jO6dbaSWP8LMLBOfA 3CGWNFJtkMLT30dKmuviWsiJEyaz1ypyeN51bhtWl/3lJzFexiCIqOa7ApaxmJhR EQYtd0V1GvVo+UE5sPdN273pP2i+bpevWKlo1GVaagMHummdmqW5PBxBWa/YUy9I LCKsewuf89w799nC2FX0zQFpe4Y8yFL7utEhiCveOvj1UYX/23sihbZ+I0ZCtIue jdHiqGt4cIrPUm0dwsYjwKqWfU72h1bj0CqbVuQhwcMU6IsrimM= =YDAy -----END PGP SIGNATURE----- --f2QGlHpHGjS2mn6Y--