delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/04/02/12:51:59

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01EA8385840E
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1712076718;
bh=rBNJJgzAGrMxrG3wUGpy04Dv/PcFul8TSLkSQuTfcNA=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=ReECBg+CDuNZj0w9wzW93aCPJyAK87EbR+jgfoAG+iApa/sS+Z1lScy2sY3iuvGyd
va84EQ87nMZTUVwEBftKfAC/UIe3Htx86IsAa2UzXc1JUnQZx/W32wne85Y3B3DqUE
kg9BfRlPG/Z1fwECmVYEOWtpGhsA/v7Xzj0OUxcI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 431453858D28
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 431453858D28
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
Subject: Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size
To: cygwin AT cygwin DOT com
References: <0fb74540-3878-206d-b623-15437fe79b01 AT t-online DOT de>
<72594c25-f142-42f0-b4cd-e2650e8044db AT maxrnd DOT com>
<6ee32dd4-ce8a-ff79-9245-ced85f4d336e AT t-online DOT de>
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>
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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Christian Franke via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Christian Franke <Christian DOT Franke AT t-online DOT de>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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


-- 
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