delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/16/13:24:03

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5BECD3951C6F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1629134642;
bh=bOlIBd1rW+BZmkJqksoJzku7UdoTpOUx566ihZEYHok=;
h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=goOKYvcr4eM151agof0HgSkZ/fCWuX4pWPR8CHDVmcUHwHZT8b543MtcIin/DR7iX
VACuQSRvLo80l7lJkR9+zZdEaQ7+llcW10ckThUzeyrjKy86Fmv0ZTrUSwTgKnqFaZ
D+/RL71sZNMrsgppVI10JOYjqWlm0RObSWB/pR/4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4FD75385841C
IronPort-SDR: NlAyGWF0+F7QOgDxT1ySUdvvUjCFecdgPZqM0h/QImTf/WmauJ5jtXs4a3Yv30zcDKuhSX7AQf
W5S7FYC8tlEA==
X-SBRS-Extended: Low
X-IronPortListener: ces-out
X-IronPort-AV: E=Sophos;i="5.84,326,1620705600"; d="scan'208";a="298455237"
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=Q0yNKC8PJ371CYdHGZBP3bZxacFDfLoeV3cGDp2GHVHQOt4DI96RgPSdhVqwVSBZx/Xff2eBK7BDb5F2Rz2xIbAVVEMBwfsh1UBlee2FPlIhm0DNKq+EIOIVSFNWVZz6gzRvAYWn/AkK5DCZiK+kbRVs7NpIiDtQGXY+EYf0cZihCujz2erIf5jyV5Ix2psDDrlLiko6sHRKjDxlSBYmfqbr7OzTi2BkgQhr4nbsDBcrlfo1rghKH+JTbNkM4lD1tbkLv0v7TAHnYXYUbXjhid6JUspSADmR7E0oSBoXv6ypeCq1r1T6X5x6DQWmkkR0ad9B7SSn7KZDm5HwJNv+nw==
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=0/aLqITIhpcoMFTNAUdBlPZZTOcrm2g9uh0PGzBTzyM=;
b=k9Rd7SW2ygVg09OWctkhulkO4EpxIAZtHiGFPQS7DDk2WLA/h9rcBsbT8EB/TxaviPYmd5h/pWzpHERms+71WGT2tJaRkrePTEym0F9wrHxLMPztijlypKoCHSIhCC4qFsIhcTZPMPZufN4Sa9cyrR2hB0qmqjlsZRfBfNyoQi3sDqdQgQBe5GwSpLg0y5Jk1U1tuIHg+jiBIACk7rTGyPqsYWxs0Ibl4d0mdHrDANPTjaWNna6qmOAjqS3pOFBqfArFFS30kTejGrqC29ltrsCgrEkfkBnYEvOL8bsO2/3GCBXgKs307KWCjQZ/EOdsybUy16PMwN45ZOEr8FACsA==
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" <cygwin AT cygwin DOT com>
Subject: RE: Duplicates in /proc/partitions
Thread-Topic: Duplicates in /proc/partitions
Thread-Index: AQHXkDH4cTCV58/8mUC5AX7lCy3dnKt2O/aAgAAi+gCAAAOYgA==
Date: Mon, 16 Aug 2021 17:23:03 +0000
Message-ID: <DM8PR09MB70955592734F7913B44A8528A5FD9@DM8PR09MB7095.namprd09.prod.outlook.com>
References: <CAPJ9Yc8KMkmkCsZH7HwzHD59ju41L0svOcCskd3e0OG4qJ8Gxw AT mail DOT gmail DOT com>
<YRp7abUpIAqLCod3 AT calimero DOT vinschen DOT de>
<9a770c83-62ef-6849-16e7-e6956f4d2fab AT SystematicSw DOT ab DOT ca>
In-Reply-To: <9a770c83-62ef-6849-16e7-e6956f4d2fab@SystematicSw.ab.ca>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 494cbea8-1b5f-4612-f0a9-08d960da810c
x-ms-traffictypediagnostic: DM6PR09MB5895:
x-microsoft-antispam-prvs: <DM6PR09MB5895AB41C34DBD89FB24FD2DA5FD9 AT DM6PR09MB5895 DOT namprd09 DOT prod DOT outlook DOT com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: KXyfKhjP6LZJCv8oEGbYNFv3celfYHAmqWzyeQ9l2eDNQte3Jz6fDwHTfREmg6UKy5k4f2MSNXy8y0ZrvaLb6MTo8lkM3CibHWQMMpblo8ybkqwiag0Wktq2WAGbRwETj3SPWOspnd1/Ip6QYFW430ZqbG8ebc0uye9RKpWx7E+a1PN02nL/qIOzrqrn/nxYO6Y7EcH6GUG1E78XIx286JQ41Ez8m+N1vaKgSS/ywgfjzqq8E2i2Hbs4DLxkCZfxvOYwYrCRQyc7Y1kuHGmy80HH9TzePVWkpbyux0irEhZ+uCRl5sgIzIO7JLajwmJAYxg+IkOiDutKYxj/CHc8yXhQq0D4DVLci8Iqw/JYE3o1fE8FgyacdRLUzNGh3rIvuHEgS436HwFg1GseSUV/WnNYGIeteerrhWIZB7jizzAh8HTYRWRNFSeXraLxdldB7zcCEk9Goz+Lrn8m6zD1aeh9MbK3aVez+nFxAdOs9+WrbBee1FfSLCYfFN98NLt4stuDVBgGUSMqmR4+o37TQ6qW5qs6C2V/CSNzesDcjwCczjyTcuR0W7FeyZzfQ1gt1MO3leiodV4af8A44G6HSzmqNvi3fI5hy9TJ/TDufF6Dp14fDinrH6WzSBjjw8Oy6Cyo6M4UqctGXQy6yva16RfIAu822xhiZDlJiMLPRn8ceMW/pzDZKwKktvrs38l0lHiuH86GV3h3uARNyUPKtw==
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)(39860400002)(396003)(136003)(346002)(366004)(376002)(8676002)(8936002)(66556008)(66476007)(66446008)(64756008)(6506007)(478600001)(38070700005)(86362001)(83380400001)(26005)(52536014)(2906002)(33656002)(66946007)(55016002)(5660300002)(122000001)(316002)(76116006)(7696005)(6916009)(186003)(71200400001)(38100700002)(9686003);
DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?TEcwdTF0RDhPUmg4MXVDZ1drWjVJWWkyUTNGNkNPV1FhWXFEZTZwSEs3eUV5?=
=?utf-8?B?Ti8xTW9KTEtvMnFHY3Bod0haWVdzK3NRNXA0RXNQSS96Z2ZTbVZQWjRjMnkr?=
=?utf-8?B?MXVabWhqOTM2RGh1NGpTRXpzMDZaSDNCQzUvRkJabnV0aUxEQm1CS2NaNy9V?=
=?utf-8?B?WjgxUXRuRlhrUGxsZGpQUEo1Z3BSOGNFM3VUR2srL0FWQmRNSklBbm5YMGp2?=
=?utf-8?B?T2QwV3BJL29SQzlpcG5scSthRFpxVG1EUXBzQ2VFc09KekJBcnRtK1o0cjhD?=
=?utf-8?B?a3BESGcwQjk3WENnU3QrZ3NvdlJpaGd4QktFNTJOOTJ0SlRpdnZHaVZ5eHlE?=
=?utf-8?B?eEkvQ3JIbkNWOWgzcUtjTEE0MXFtdlk5MVZ4S1RIOWQ1eGZpS1hMbmNwNnJE?=
=?utf-8?B?THM4ajZ2ZDVHM1Fzam1Fa1B2WnUzNTBwWTdVZFEwZjBMMzdXWmczSE5BaWdl?=
=?utf-8?B?ekRaLy9jQmYxT1UrYVkvRGRpaGVHVENGTG9KeU9xSElkbkFMNGs2eE03cnEx?=
=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OVFSZHRNVnJibFd2SlM2?=
=?utf-8?B?SWdEc0tlZ1gxWG5WZm4vSXZDMzh2M3VkZXQxQkNOaERJdFo0REUvQi8yWXJS?=
=?utf-8?B?dXlKTHRPY2dKVWNxS0sydzZHbmRlMmQ5TzN0WnYxbDVGeFRLMnR3eWMyZTdH?=
=?utf-8?B?UGRiUmh4RExlRmdiNVNrc0tjOWJMNDdOZU1YVXZlUExBWldpWVhGN01wM2gw?=
=?utf-8?B?ZG1jSy9RMm0vY1RhS0VWM0JZY2gycHN1YThrTTgwL0U1NzlBVVZwNExZR00v?=
=?utf-8?B?anZkZGIxS2hqZStuc2JXUmVkTC84RWRORVFKTHRRTDZtaDliU2FRckZpVHFw?=
=?utf-8?Q?0xPdD5DAo8ccbm1Ua0=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: 494cbea8-1b5f-4612-f0a9-08d960da810c
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Aug 2021 17:23:03.2029 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 14b77578-9773-42d5-8507-251ca2dc2b06
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR09MB5895
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 <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\] via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

> Could those with the symptoms not provide useful information using a
> script run in an elevated admin shell listing the relevant contents of

Previously I reported that it worked for me correctly when elevated, and did
not work as an ordinary user.

I have to take this back (see the snapshots that follow).

Winobj (runs elevated to be able to open those entries) reports all drives without any duplication.
And so does diskpart.

Also, looks like C: is always shown correctly in /proc/partitions:  with the correct number
of partitions, and without any repetitions.

Right now, as an ordinary user:

$ cat /proc/partitions
major minor  #blocks  name   win-mounts

    8     0 500107608 sda
    8     1    102400 sda1
    8     2 488280064 sda2   C:\
    8    16 1000204632 sdb
    8    17 1000202240 sdb1   D:\
    8    32 1000204632 sdc
    8    33 1000202240 sdc1   G:\
    8    48 1000204632 sdd
    8    49 1000202240 sdd1   I:\
    8    48 1000204632 sdd
    8    49 1000202240 sdd1   I:\
    8    64 234431064 sde
    8    65 234428416 sde1   F:\
    8    64 234431064 sde
    8    65 234428416 sde1   F:\
    8    80         0 sdf

As admin:

$ cat /proc/partitions
major minor  #blocks  name   win-mounts

    8     0 500107608 sda
    8     1    102400 sda1
    8     2 488280064 sda2   C:\
    8    16 1000204632 sdb
    8    17 1000202240 sdb1   D:\
    8    16 1000204632 sdb
    8    17 1000202240 sdb1   D:\
    8    32 1000204632 sdc
    8    33 1000202240 sdc1   G:\
    8    32 1000204632 sdc
    8    33 1000202240 sdc1   G:\
    8    48 1000204632 sdd
    8    49 1000202240 sdd1   I:\
    8    48 1000204632 sdd
    8    49 1000202240 sdd1   I:\
    8    64 234431064 sde
    8    65 234428416 sde1   F:\
    8    64 234431064 sde
    8    65 234428416 sde1   F:\
    8    80         0 sdf

It's Windows 7 Home.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019