From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34039 invoked by alias); 21 Jan 2019 17:16:20 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 33804 invoked by uid 89); 21 Jan 2019 17:16:03 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.130) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 21 Jan 2019 17:16:00 +0000 Received: from calimero.vinschen.de ([217.91.18.234]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N1fei-1hDypp39SK-011zf6 for ; Mon, 21 Jan 2019 18:15:57 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id D48A7A80699; Mon, 21 Jan 2019 18:15:56 +0100 (CET) Date: Mon, 21 Jan 2019 17:16:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: /proc/partitions changed ? Message-ID: <20190121171556.GG2802@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <525bc717-095e-51f2-b56b-fef03664c77e@gmail.com> <19412ec7-c761-32db-85fb-3d0242cbf2a3@cs.umass.edu> <20190121083955.GA2802@calimero.vinschen.de> <6b17df27-8511-016c-878c-d90f1899fb3f@gmail.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) X-SW-Source: 2019-01/txt/msg00155.txt.bz2 --f2QGlHpHGjS2mn6Y Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2236 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" Content-length: 833 -----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--