From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from m0.truegem.net (m0.truegem.net [69.55.228.47]) by sourceware.org (Postfix) with ESMTPS id A0F293847718 for ; Wed, 3 Apr 2024 23:15:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0F293847718 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=maxrnd.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=maxrnd.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A0F293847718 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=69.55.228.47 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712186134; cv=none; b=Chhylby+XdUUlnwCA+QqQ3IahicpC+JOqeSU/pG/wdbwzrNrW/3kvWE84keztCOAlpYtNqv/mUaAFhHdBULWzptse+Ujth+Yl9+cg0bFI4goYda369ZjqaGpPuOI9XzgmVePEQD9hPr6P7NCkLOKnJKfuEPd1ywpeLNtTsct4is= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712186134; c=relaxed/simple; bh=WQ7TkmTRIjCTk+JpCpxHomF+Rr1cxG+LRNBwGbn/Bao=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=ASL9MC5X8ig935E45gxJpY6t7b2fdBkbbyC7pjAmLCInuLQ7imQycTB9J7ypHIVrkKPfPFCL7g9jl/JT/vXa9kSNz0CF371Q18e7QjTOKBPYtTZkY+e0XqviNvusa3Kri/ILo0vdDBjcLSgvzyZUeQHcTw/Wh8kqZmHHpNilt5Y= ARC-Authentication-Results: i=1; server2.sourceware.org Received: (from daemon@localhost) by m0.truegem.net (8.12.11/8.12.11) id 433NLQ93042102 for ; Wed, 3 Apr 2024 16:21:26 -0700 (PDT) (envelope-from mark@maxrnd.com) Received: from 50-1-245-188.fiber.dynamic.sonic.net(50.1.245.188), claiming to be "[192.168.4.101]" via SMTP by m0.truegem.net, id smtpdjSVUHc; Wed Apr 3 15:21:25 2024 Message-ID: <79c4b7e0-d17f-4104-8d82-6c8ff554e516@maxrnd.com> Date: Wed, 3 Apr 2024 16:15:33 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird 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> <3e14bdaf-6076-1fd5-eff8-6eccc5548013@t-online.de> Content-Language: en-US From: Mark Geisert In-Reply-To: <3e14bdaf-6076-1fd5-eff8-6eccc5548013@t-online.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,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: On 4/2/2024 9:50 AM, Christian Franke via Cygwin wrote: > 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 Thank you Christian for reporting the issue upstream. I won't be able to try out the proposed fix in that issue 2904 as I'm about to be AFK for two weeks plus. I will check in upon my return to keyboard. Cheers & Regards, ..mark