From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) by sourceware.org (Postfix) with ESMTPS id 431453858D28 for ; Tue, 2 Apr 2024 16:51:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 431453858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=t-online.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=t-online.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 431453858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=194.25.134.80 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712076661; cv=none; b=h2AtYRIe0rDZaEZAyIp1/ZdqX+y2Pk2Kz0JRwKdZpvfegLQo6p0Gb3delQQ7QrLPPNkzEzLU7XY/339Khc52yRe4CZu4EDhgtZmWPo/DguzCGzNY4KL1lGjG+mEQ0VGoF5/BNnzGF6agwMTrLZ/PfwLPgwqXi9evc9qIVvr9JdI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712076661; c=relaxed/simple; bh=e+159THxLDAxhJo3loTSt0HWP+vszSJMkQfB5upWjgk=; h=Subject:To:From:Message-ID:Date:MIME-Version; b=OF5IniqyNpM5riPMdGDI/CxWlFE6rVhBZi8XzimSTRJs3ew+dn/fBkGkmO7zp9522HzR5F7O1v8youhIPRxRaDxgHVTAbe4caKwH7VPVv95x9z5whpHBf3cySKu/cXN/lphyKcAyl4uuwbrcGupsDPnGjr6VpVau7tJclop5o3o= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from fwd77.aul.t-online.de (fwd77.aul.t-online.de [10.223.144.103]) by mailout01.t-online.de (Postfix) with SMTP id E3A0CEA32 for ; Tue, 2 Apr 2024 18:50:58 +0200 (CEST) Received: from [192.168.2.101] ([79.230.172.235]) by fwd77.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1rrhLd-12dJj60; Tue, 2 Apr 2024 18:50:58 +0200 Subject: Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size To: cygwin@cygwin.com References: <0fb74540-3878-206d-b623-15437fe79b01@t-online.de> <72594c25-f142-42f0-b4cd-e2650e8044db@maxrnd.com> <6ee32dd4-ce8a-ff79-9245-ced85f4d336e@t-online.de> From: Christian Franke Reply-To: cygwin@cygwin.com Message-ID: <3e14bdaf-6076-1fd5-eff8-6eccc5548013@t-online.de> Date: Tue, 2 Apr 2024 18:50:55 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 SeaMonkey/2.53.16 MIME-Version: 1.0 In-Reply-To: <6ee32dd4-ce8a-ff79-9245-ced85f4d336e@t-online.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TOI-EXPURGATEID: 150726::1712076658-D4CFB921-AEF79A59/0/0 CLEAN NORMAL X-TOI-MSGID: a645d55a-c0ba-4b0c-8d58-9a6535f91526 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Christian Franke via Cygwin wrote: > ,,, > BTW, according to the Linux kernel sources, BLKPBSZGET etc return > 'unsigned int' and not 'unsigned long' since first appearance in > 2.6.32-rc3 (2009?): > > https://elixir.bootlin.com/linux/v2.6.32-rc3/source/block/ioctl.c#L276 > https://elixir.bootlin.com/linux/v2.6.32-rc3/source/block/compat_ioctl.c#L743 > > https://elixir.bootlin.com/linux/v6.8.2/source/block/ioctl.c#L533 > > So I don't understand why the mentioned code would be correct for Linux. > It is likely an upstream regression from an 1+ year old commit. I filed a GH issue: https://github.com/util-linux/util-linux/issues/2904