X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7AF78388E83A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1629311337; bh=0Fo+Te7fdrawGwPze3/fI38tXJuQYygezdXH2p/+Vqs=; h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=g6UQVBU1y1N/yPSPPlszUsUBTgl4QM/vLTc3T8hseFCoZnXgwVvwUqrA1xxKCdRjr ezSrht1WuHj3YUQu2v4sNVBAfAYDhWsJoGKSISIvNM49FV5sH5d4GPIVu3QR+xMA71 u4Z7NLiKLXpur9oSJYPTGdtbt2NvmGCivkMPHTQE= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7FD3D3854805 IronPort-SDR: lNmGzg44KjoiRrJ4BZjFCcuJkK9bVYgfUlgRTdXnLVCludQNanbw0YHWmwKgBhxOFGTceOHzQh SBLlHmgRyjkA== X-SBRS-Extended: Low X-IronPortListener: ces-out X-IronPort-AV: E=Sophos;i="5.84,332,1620705600"; d="scan'208";a="206673230" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EVKLZl2EJcs3bbDmMO/YdTslqyr4M898rHzq3BCcVOPUddiywTdM13kWt6Wy74a8jtsa+p8zQ9Z0yidGsYVLQIHfKYtdwgceWLGKMUyNjp4wyXLvIP9IIMph5G7MMyyrRFvLUtOxdEnHjxKyHKoin7xq2bOJ/x3mAcJyj9mfN1BLPRxMDrDA0LiUL13MhNnYP/k0DW3PUMggZB1zD6x3uWexTOL8CDxKP3ry6w7TGYSLJWyCX/U0jfUfUp7sMh5ckX8vzNkdOq+hQpEVHPwGh+4NrRLSzYW0nBsrfL8UbudGgPGZRI4ophl6BaxPoEx8HSiQnYyzyFmCoUSNOZKVKg== 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=KhIZ1a47XfZB8/5myUkAojBFX/8fwYnIsUp969mOaSc=; b=ZNSLyC/VeQlvo+FhdjKT+i4M0bpElnDcAfnRKCLMOf2YZUNPuBo/+XEZ4+8VVngwaaqezP8vNpVIpS+O6XVuPW+dgR35u1LbhcYuXjfRZCfZ8HpBsVMUpnWf6nojeMV8WuuIX5Nf3ROfuGmntBzO/exHll/wvAbCuPH/4IS+/EmaM7q7grdA13UJMluaIKKoGo9tk6UqK2yL0ogB1GXJK555rPn9EnHgrQA6j+7iyYkrdvnmVc3RnIjKfEw0jwh9omij1WlXbdta1vTOp0kbx3eDhQ/zAAvS1z6bZX6mLJ6P5y7MJjLoVaLGcV+dU+RGcZxvdy7UgWVBvmFRfoyQPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; arc=none To: "cygwin AT cygwin DOT com" Subject: RE: Duplicates in /proc/partitions Thread-Topic: Duplicates in /proc/partitions Thread-Index: AQHXkDH4cTCV58/8mUC5AX7lCy3dnKt2O/aAgAAi+gCAAB+OgIABL1kAgAAP1wCAAZkwsIAADKyAgAA0qxCAAAQtkA== Date: Wed, 18 Aug 2021 18:27:29 +0000 Message-ID: References: <9a770c83-62ef-6849-16e7-e6956f4d2fab AT SystematicSw DOT ab DOT ca> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0d568699-5188-4fcc-5fd1-08d96275d638 x-ms-traffictypediagnostic: DM6PR09MB5720: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NBZjM0kyIAAR/6YWq9iTiC83q7hTqCPLV483Qr9Atu38YEyjAKvwWENqCXr0uUOullrl4prTOV21rXnqG+A2Iisylu5dH5OCpCft3WE8m5QGGjsCpExQwqRSBMy3XBrDn2eFqUuIo3hH1mntBvA6H4CGX+qHYfs3T6U3ktp/MhyTdNycKqPASVuu+kgVNikQkp6eNzRJW4FXPkCkuzB3Q2ZQQbxB7x485q4Vk4CXnE+Z4DOr2AQqCDuq4tD/q61My5oZZH3maQI0Wyq9a3jSVi+67vpLTgSzmHSkqyCOoG9JEjVI4FbFaJhYZTRxV66VByp+htmLVzU6Uqc70CT1qyur66bLhBsSm3nSB26I9Rt/NhKOdJyw+Kq1iGRUNcZV9mvzcrGovGun4dVKcoyUAYYcm/5MMJJYhAnLl574okWv+6qnYvV0nVRqPxGn61wlC7dCn67Wegtp4uJCeLvORRLeVSxb6yxgiSClVkedntv9EjOssUs4g4Y0RlGSH8M5pvF9rPZlz1m4ZbvN6zBsrIuqUHYFpi7tMQe7x4pM4kxB0fdLNwR6pJUBF8C8g5yFAJGew2BJK+/sSPH+mxlaxlg6BvK1KnuPpB7zqS6Qu9BdkWcRm2bthnKt9O7C01o0Ql8AZmOJ/fyX6VPiMDoS1fYuNbw8qbYGuPMHznrunR3SVX7DwekLkPF2vN1XoiOCBRKucipJMWRnO+xGOFJIEg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR09MB7095.namprd09.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(396003)(39860400002)(136003)(376002)(478600001)(38100700002)(26005)(122000001)(55016002)(66446008)(52536014)(9686003)(4326008)(86362001)(2940100002)(450100002)(71200400001)(38070700005)(6916009)(6506007)(2906002)(5660300002)(66476007)(7696005)(66946007)(76116006)(8936002)(33656002)(316002)(186003)(4744005)(64756008)(66556008)(8676002)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Kk1M1Rue8m/7su80+UTXmEyw4gerRjqXWx/186m3SBE9vDsedrJIz/ALuBy+?= =?us-ascii?Q?G6S0daWEw4rNZA5oh3SyGpDcENAYnqdOvSKj1J8qJzpvOuxDskQLLX5q40+3?= =?us-ascii?Q?eeE41Jr5qs6q+dR4WhCXCH5lDcWdO3bpdUd+OGMvAsCmTmPQ2u/N0OpmjzGE?= =?us-ascii?Q?i0Qk92oMgzNfKK+quR0/LDPCOZ/vNMNVzPCIO6+L51MFv2iGeTxk071xa5jD?= =?us-ascii?Q?iset6Tj5a+0OrqyjJYqheR3IS7ThkuQLG3DREnONSGUWQzAray++FypnvoGs?= =?us-ascii?Q?MdBsfs2XGcCuKhtwB0BYY2ySUTLZpFHVT8pDaW+RoiVowgzTQ6vaNFnF5nS+?= =?us-ascii?Q?Qokb+okp6MrhDfmmasTwhcjGn7sZMUoyWUIZKf4+zgRH0DFFQ3yhzTRW9u6c?= =?us-ascii?Q?OdutY1t6/BX74HhRxzCOffGznRneQR7i0D3mFcMUXibz4mf5rX/CC+q8xCph?= =?us-ascii?Q?9awLrjnaP6caW+BEmnicxurgYXrrR+vdBYJF9EiIM6vEBu5jVrKflQF3DPps?= =?us-ascii?Q?srWPEQS7N3djapUBpw9HObmd9Y+j+zCMOaYY5kxAgjRbNurCalKwko7zIuns?= =?us-ascii?Q?5chUjLU8A9Gja6Ivn6ybkhmaA1yYf1eeEeGxiLWAC6fTYYXcsTpGKNGYGAGW?= =?us-ascii?Q?16MfgcDg/42QpgoLZWaN77N1CemXyAhxBJIwX7ANjKZFwxE1DOOy5ijong5o?= =?us-ascii?Q?jhbcH1OpIQs2/nzv9aTIT4eR/CZYgjB1hGCrPno8Axim5NnMiOEiKNFAf9Z5?= =?us-ascii?Q?Q2ybq7llr8v7dxVHlNMGpgff4OM1E2Umrme/45WRaou+pebEY7qNG+k489D3?= =?us-ascii?Q?dYwhzAlgYd/PLxGh8eInOx6eeoT5KGSUobkUovO/6Fhp+xcjKVZkOhAqQR9m?= =?us-ascii?Q?Ik5iJ0KvSfykwujRV2nFEX470GXp8EkCQSponiHSVEJL5q1WL9hodFD4s69h?= =?us-ascii?Q?Ghg8STY0XFQi8gp205lALooM7Ed7eWZBx/3nKfxiHoIFSuRK25g0BOwJ11YC?= =?us-ascii?Q?gJ+wB9P8r7vmZmiPfmrT7AADhm5SXC84R9KzBHO/5ju1qXBxJ6HcMXUT9RQH?= =?us-ascii?Q?DC9rmqt9mhgPilMgIePdmo7W1L+nBEdVcp7F6G5qG56pKJWz+63w5Ek0jep5?= =?us-ascii?Q?+wOlrf1/EstVBYFiLvXlppvT1HhoPdSuEuDX4Fl8DHA3gnGrEW69tgHmzSA+?= =?us-ascii?Q?XvZlmBlY9rolUi6iMhXuRFYFqiySu+hwiqDRJI+VjPVEZcuSgV2PeTiznL9S?= =?us-ascii?Q?2RyB1T/mPKHaLenjE2TOdXeKoRS+aX5rKfRMbyBR+c5b18BpLmu+HSe0zj2L?= =?us-ascii?Q?fqY=3D?= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR09MB7095.namprd09.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d568699-5188-4fcc-5fd1-08d96275d638 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Aug 2021 18:27:29.2637 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 14b77578-9773-42d5-8507-251ca2dc2b06 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR09MB5720 X-OriginatorOrg: ncbi.nlm.nih.gov X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, RCVD_IN_MSPIKE_H2, SPF_PASS, TXREP, T_SPF_HELO_PERMERROR autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\] via Cygwin" Reply-To: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\]" Cc: Corinna Vinschen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" > The directory handle is used (indirectly) in NtOpenFile() through the attributes, and > I wonder if that call somehow distorts the internal position within the handle, and so > it restarts from the wrong internal position in the outer loop. And I just confirmed that if I print the context right before NtOpenFile(), and just do the "continue", I do not see the by-one increments in it, and the number of lines printed seems to match the actual number of drives that I have, without the duplicates: $ ./proc_partition context = 282 context = 299 context = 313 context = 329 context = 339 context = 352 Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple