X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01FF03846411 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1712186182; bh=ifM6PD9UTf7zLgArAEhZF/H8vGjUD24wjiq0yyFZcO4=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=vmNmX01YD4H1Z7MsEHK8KUIKghfKfkzz/RZOv27/N/2vJpwOE+A+0afzFXk+WztLD 7p2L5glq0u/XPA6VPzhrD7t2VBIdFAXpHfIYvRj5pVJxEBOCl8JoDgOBFNZqrT5KVY UTWkvWYGc74wpDd5WSRjcJm5Txjebf4qMindLhCc= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0F293847718 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A0F293847718 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 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 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> <3e14bdaf-6076-1fd5-eff8-6eccc5548013 AT t-online DOT de> Content-Language: en-US In-Reply-To: <3e14bdaf-6076-1fd5-eff8-6eccc5548013@t-online.de> 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mark Geisert via Cygwin Reply-To: Mark Geisert Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 -- 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