From MAILER-DAEMON Mon Jan 09 14:05:03 2023 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pExSB-0005hi-Pc for mharc-bug-parted@gnu.org; Mon, 09 Jan 2023 14:05:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pExSB-0005gW-7i for bug-parted@gnu.org; Mon, 09 Jan 2023 14:05:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pExSA-0002EH-1T for bug-parted@gnu.org; Mon, 09 Jan 2023 14:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pExS9-0006c8-TK for bug-parted@gnu.org; Mon, 09 Jan 2023 14:05:01 -0500 Subject: bug#60389: archive website not updating Resent-From: "Brian C. Lane" Original-Sender: "Debbugs-submit" Resent-To: bug-parted@gnu.org Resent-Date: Mon, 09 Jan 2023 19:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60389 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 60389-close@debbugs.gnu.org Mail-Followup-To: 60389@debbugs.gnu.org, bcl@redhat.com, bill-auger@peers.community Received: via spool by 60389-done@debbugs.gnu.org id=D60389.167329107625379 (code D ref 60389); Mon, 09 Jan 2023 19:05:01 +0000 Received: (at 60389-close) by debbugs.gnu.org; 9 Jan 2023 19:04:36 +0000 Received: from localhost ([127.0.0.1]:38174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pExRk-0006bH-A9 for submit@debbugs.gnu.org; Mon, 09 Jan 2023 14:04:36 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:49752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pExRg-0006b6-GV for 60389-close@debbugs.gnu.org; Mon, 09 Jan 2023 14:04:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673291072; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hNUuzS8j5wSpugXQyAyVn/eacI/8KDWHiBgZGux4cJw=; b=Y+ZFkaKQH1t98lhslpdFzpgQ1NR7sUzgZo6MZcxnesoxnXEGuh20Sn1Y7meO5s1UXegUUX 1Y5xE8DgiYK9/VI5KympvvVFZ/EmENw3plgyhH0JhJJ99H5SGnT67eNClRWt4+U2c5gSXH pTakSQLiREgDH8s9vnxnTpv1C/KZKk8= Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-271-OTknCyeKOWOTn-gofrzqJg-1; Mon, 09 Jan 2023 14:04:30 -0500 X-MC-Unique: OTknCyeKOWOTn-gofrzqJg-1 Received: by mail-pg1-f197.google.com with SMTP id s76-20020a632c4f000000b0049ceb0f185eso4014724pgs.7 for <60389-close@debbugs.gnu.org>; Mon, 09 Jan 2023 11:04:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hNUuzS8j5wSpugXQyAyVn/eacI/8KDWHiBgZGux4cJw=; b=YZY493SsW3ueyw4yJfraHC4UrTnxTenubnUizFMakIRzfEf3G/nH542GVl35zDzb84 tgVPGVLX6HwRnIfjMsbGSEDwVMIKpKpvw81x5I1bS4BbMeYhvKdznEz09rJgYvJKticH H/t9N3U+lvSseFkh8su98WhLaBbvrb4T4n0vVAYC3vYrABXCujrPmEpo1Moals2JQpmN /Mkdoe9+Kh7UuDCUUZGhHX2imubng29TDsFT3itn5lc8EyjCvY9uuIfb1Qq1o7B/DdhW iKDhLsl8YalodGQU1bI5p3Hcd5SemsaTc8Y/dLeX1eC+evfsZTWwFMQwHjAXoZViffF0 OFVw== X-Gm-Message-State: AFqh2kqWmseGkxZJv9CJ8tqOv77/RSFlABp1CS5MSNqPHOUIdHRyzC6K IiYNXrRyEZOgtIJmsNjgnjcRUuUDYEuF8IGwuprMSskW7tkuldKl+V/Hab8NevvbStQ9DUk4qOP ynpa2HhiQLfzjzWWyRognhQetykp9lTsZ7RiQ2X7ZMI+ZFeyE3M34EU0J6r5A+K3KWtzu X-Received: by 2002:a17:903:2404:b0:18d:61f6:e254 with SMTP id e4-20020a170903240400b0018d61f6e254mr83890474plo.33.1673291068902; Mon, 09 Jan 2023 11:04:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXsu5WHs/nzXTsItXBvFv2pgM1rONywRmmGhOvcrwFfpjQrM7wiWB30r2Gug/b3qK6mZbjxuIA== X-Received: by 2002:a17:903:2404:b0:18d:61f6:e254 with SMTP id e4-20020a170903240400b0018d61f6e254mr83890443plo.33.1673291068409; Mon, 09 Jan 2023 11:04:28 -0800 (PST) Received: from ohop.brianlane.com ([2601:603:5000:afe:52e5:49ff:fe52:c5be]) by smtp.gmail.com with ESMTPSA id j6-20020a170902690600b00192aecb231asm6470965plk.121.2023.01.09.11.04.26 for <60389-close@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 11:04:26 -0800 (PST) Date: Mon, 9 Jan 2023 11:04:24 -0800 From: "Brian C. Lane" Message-ID: References: <20221228181352.53cf8c27@parabola.localdomain> <20221228182822.6f1035c2@parabola.localdomain> <20221228183643.19645b1e@parabola.localdomain> MIME-Version: 1.0 In-Reply-To: <20221228183643.19645b1e@parabola.localdomain> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) X-BeenThere: bug-parted@gnu.org List-Id: Bug reports for the GNU Parted disk partition editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2023 19:05:03 -0000 -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart From MAILER-DAEMON Mon Jan 09 14:10:13 2023 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pExX7-0004MJ-FC for mharc-bug-parted@gnu.org; Mon, 09 Jan 2023 14:10:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pExX0-0004KZ-Q1 for bug-parted@gnu.org; Mon, 09 Jan 2023 14:10:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pExX0-0004Z1-EB for bug-parted@gnu.org; Mon, 09 Jan 2023 14:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pExX0-0006kc-1C for bug-parted@gnu.org; Mon, 09 Jan 2023 14:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#54751: Parted 3.4 complains about the partition layout of ChromeOS: "Can't have overlapping partitions" Resent-From: "Brian C. Lane" Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Mon, 09 Jan 2023 19:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54751 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: Ignacy =?UTF-8?Q?Kuchci=C5=84ski?= Cc: 54751@debbugs.gnu.org Received: via spool by 54751-submit@debbugs.gnu.org id=B54751.167329134725865 (code B ref 54751); Mon, 09 Jan 2023 19:10:01 +0000 Received: (at 54751) by debbugs.gnu.org; 9 Jan 2023 19:09:07 +0000 Received: from localhost ([127.0.0.1]:38187 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pExW6-0006j6-UZ for submit@debbugs.gnu.org; Mon, 09 Jan 2023 14:09:07 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:47648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pExW5-0006iz-Ia for 54751@debbugs.gnu.org; Mon, 09 Jan 2023 14:09:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673291345; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gUX24btMXw33oluXwTm1HycH/JJVfg5jWRlYPaPwG/k=; b=Qs4tdYSuQgNAAVTRlgMCn/h4YEUqP/EadtdrxJCJ8HusWmJcFPX6/pjEx64xb9v7cjc0x3 /fX6xvL38L9Vpc+7bLGq/g8prA/jARzTlFNC9ynmDJAabanHTZuXnlNozg8UKJUXElHIOc tXlFaN4IM+JwmPQniBApeySfWyFSGkM= Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-589-y04YAWmDNcajr3YqPnNTlw-1; Mon, 09 Jan 2023 14:09:04 -0500 X-MC-Unique: y04YAWmDNcajr3YqPnNTlw-1 Received: by mail-pj1-f72.google.com with SMTP id k11-20020a17090a514b00b0022723168c9eso1021737pjm.7 for <54751@debbugs.gnu.org>; Mon, 09 Jan 2023 11:09:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gUX24btMXw33oluXwTm1HycH/JJVfg5jWRlYPaPwG/k=; b=fLtMxNLyvKtUkIayQ/+ZW2BZ+iKtzwfqPIstwXKQF6Ws6xYcdDLxuMeEd1CQbPOsd/ eaqnDew3vVPKL8t0LQMsYhCOI728bfk+kWklYqjywNOvVAu3jGevYXG9v1T9tMhncCZT dcMFZVxJAvpvuQT3s2X/bUlAnoZ5ESZyJMg2xJstiil/yy2euo0z4PZylv3ITgBzt9fw o0iop2QSqxX5lWf3qrJWELWMf8K9QsQSpuOGyOtCMcWHUALZD0i+FT1YTL4ya5oZRpga WQ3hG0CL2BeGYoFrM803YtTagtYJT7eL23pU/ME5xyznH/HUrqaqXMFT20ty9fUCDGbG FGhw== X-Gm-Message-State: AFqh2krSXYIMz5LhYKvSZd/1oicEyPrmLbf5OKxeOblfhWJiDEzxK+X/ TjvhGOsUQdS00QdACMYTipZzAF6cVG/apv0gjCyd4u8oQbBLBqGzkXYvkZka7SQEZr4mLxTVeYn bD4T0HnR0EXVkeMQ= X-Received: by 2002:a17:902:f604:b0:192:55ab:88fe with SMTP id n4-20020a170902f60400b0019255ab88femr74541831plg.56.1673291342510; Mon, 09 Jan 2023 11:09:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXt4TwEILa5008VTgAljiqYiOJ2LFfMa88cP4+r86oAtJyrGixhRbp5C1oQQebwQDxrcb8UKiw== X-Received: by 2002:a17:902:f604:b0:192:55ab:88fe with SMTP id n4-20020a170902f60400b0019255ab88femr74541818plg.56.1673291342249; Mon, 09 Jan 2023 11:09:02 -0800 (PST) Received: from ohop.brianlane.com ([2601:603:5000:afe:52e5:49ff:fe52:c5be]) by smtp.gmail.com with ESMTPSA id u8-20020a1709026e0800b001928c9d772bsm5780953plk.206.2023.01.09.11.09.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 11:09:00 -0800 (PST) Date: Mon, 9 Jan 2023 11:08:59 -0800 From: "Brian C. Lane" Message-ID: References: <6a18be78-eff9-8c9e-afda-2026eef4ee2d@narlabs.org.tw> MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) X-BeenThere: bug-parted@gnu.org List-Id: Bug reports for the GNU Parted disk partition editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2023 19:10:03 -0000 On Thu, Dec 29, 2022 at 12:43:32AM +0100, Ignacy KuchciÅ„ski wrote: > Hello developers, > > Replying to thread > https://lists.gnu.org/archive/html/bug-parted/2022-04/msg00001.html > It seems like there's already a patch for this issue: > https://www.mail-archive.com/parted-devel@alioth-lists.debian.net/msg00196.html > > Is there anything left to work on to fix this? Apart from Clonezilla > problems, this bug results in inability to see the partition layout of > disks with ChromeOS installed in anaconda and ubiquity installers and > prevents edits in GNOME Disks. Judging from the positive responses to > the patch, it seems it just slipped through the cracks. I hope it's > still the right solution. I have it on my list of things for the new year, but I'd like to get more feedback on it. It looks simple enough, but you know how that can go... :) Thanks, Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart From MAILER-DAEMON Thu Jan 26 09:16:04 2023 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pL32q-0006oc-N7 for mharc-bug-parted@gnu.org; Thu, 26 Jan 2023 09:16:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL32o-0006oL-P6 for bug-parted@gnu.org; Thu, 26 Jan 2023 09:16:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pL32o-0006YQ-Gf for bug-parted@gnu.org; Thu, 26 Jan 2023 09:16:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pL32n-00043L-Ri for bug-parted@gnu.org; Thu, 26 Jan 2023 09:16:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61076: Change in MBR between parted 3.2 and 3.3 Resent-From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric?= Martinsons Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Thu, 26 Jan 2023 14:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61076 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 61076@debbugs.gnu.org X-Debbugs-Original-To: bug-parted@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167474254715553 (code B ref -1); Thu, 26 Jan 2023 14:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 26 Jan 2023 14:15:47 +0000 Received: from localhost ([127.0.0.1]:32827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL32Y-00042m-LK for submit@debbugs.gnu.org; Thu, 26 Jan 2023 09:15:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:50110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKzse-0004gb-Hf for submit@debbugs.gnu.org; Thu, 26 Jan 2023 05:53:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKzsY-0000RR-3a for bug-parted@gnu.org; Thu, 26 Jan 2023 05:53:14 -0500 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKzsP-0007ae-3a for bug-parted@gnu.org; Thu, 26 Jan 2023 05:53:06 -0500 Received: by mail-lf1-x135.google.com with SMTP id cf42so2472730lfb.1 for ; Thu, 26 Jan 2023 02:52:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=AdODtarc0ZH/8GZlVdRVCeDEvSEGfVQjn28cpQfKh5Y=; b=EwEW6jsSDkpxF31S+Ze5vK8t4WYcv7bTfzeHH1yUzB91GhO3NIW1BmtkZqxWYt4tkf RvTC1WVWGbHtFzeQAKZ+48MvWszyyQ3aA3iY6EhqAuWytTDbQO75l53rHfORlWCT0BK3 A4zsf/xPxFcinAtSwhFrv4dfE5n4N6Jde+VJW1pX53pPNY9JyinJvPkLkOZpR0lxrjyG msgKXaoAhwTNHAwrUoitjKPgwqeuxD4U+naj8GVVgVT9oNdp+m3J4gmlbyIzm0UsbiLG 1Q9ZkRFzKT/62idHM5/1cygDGiOFQMWL1p8Dq0hH29bLtEpzJG059PpM9DswKCgCYT32 zULw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AdODtarc0ZH/8GZlVdRVCeDEvSEGfVQjn28cpQfKh5Y=; b=PpvcQgBIMRs5TLAgy2DzD6o+VzN7YXGi5H9nHgu5VxTwcYOvThr08OCcNaXgQtRNZQ uAoofGYTVWm41wZhQ6ZOr9ldSVWQYp1QqOTjsC+FnxcpPzk4xs+zEfZCnAywQM6W7MGF AWi2RGbgaOGncw06hIiQqMnfNRZ+OErq2MwblENSwoLzm6hkLAky1acLmD94w/g6Lnpu 6n8zDd6o6E9SQvh+r/UyOSZoCUcu/lcO7dDe2OyDu82YBqPwA8ZLEIbFSSTjIgPLoPS0 hbcJG6R+tyihfbjHlvxqZIpEpjQhELrOhMGPqGD0GgUv6jv0bU5YWACkzOTRep36VRmA KCrw== X-Gm-Message-State: AFqh2kpJ5sow1D1KHWVIjms1d5UQjG0yZm+T0tV/LlpmMJqkH7LMaTP7 8deSOpwPVa1eWMDaVVt3CalJO04e8LQkN3wTHH74CLAWe6Q= X-Google-Smtp-Source: AMrXdXtKC7qzZXCwHkPAJ+/tQ86Nu7At+9rfW9jHNZEBH1Zmc2DKh2abaq60abpQlC6hjKO1oWAUwzm5eVFvb846cL0= X-Received: by 2002:a05:6512:159:b0:4b5:2958:bd06 with SMTP id m25-20020a056512015900b004b52958bd06mr2237511lfo.26.1674730367519; Thu, 26 Jan 2023 02:52:47 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric?= Martinsons Date: Thu, 26 Jan 2023 11:52:36 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::135; envelope-from=frederic.martinsons@gmail.com; helo=mail-lf1-x135.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Thu, 26 Jan 2023 09:15:45 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) X-BeenThere: bug-parted@gnu.org List-Id: Bug reports for the GNU Parted disk partition editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2023 14:16:03 -0000 Hello, I have an arm based board with an eMMC card for storage. I cross compil an GNU/Linux OS (with yocto) for this boardand and I came across an issue after updating parted to 3.3 and above. Below are my commands to partition the 4GB storage (2 partitions of 1.8GB, 1 bootable partition of 400MB) : :~# parted /dev/mmcblk0 mklabel msdos :~# parted -a none /dev/mmcblk0 unit s mkpart primary ext4 2048 3474431 :~# parted -a none /dev/mmcblk0 unit s mkpart primary ext4 3474432 6946815 :~# parted -a none /dev/mmcblk0 unit s mkpart primary ext4 6946816 7733247 :~# parted /dev/mmcblk0 set 3 boot on With parted 3.2, I have the following MBR: :~# hexdump -n 1024 -C /dev/mmcblk0 00000000 fa b8 00 10 8e d0 bc 00 b0 b8 00 00 8e d8 8e c0 |................| 00000010 fb be 00 7c bf 00 06 b9 00 02 f3 a4 ea 21 06 00 |...|.........!..| 00000020 00 be be 07 38 04 75 0b 83 c6 10 81 fe fe 07 75 |....8.u........u| 00000030 f3 eb 16 b4 02 b0 01 bb 00 7c b2 80 8a 74 01 8b |.........|...t..| 00000040 4c 02 cd 13 ea 00 7c 00 00 eb fe 00 00 00 00 00 |L.....|.........| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001b0 00 00 00 00 00 00 00 00 34 15 3b 6e 00 00 00 20 |........4.;n... | 000001c0 21 00 83 45 2d d8 00 08 00 00 00 fc 34 00 00 45 |!..E-.......4..E| 000001d0 2e d8 83 6a 7a b0 00 04 35 00 00 fc 34 00 80 6a |...jz...5...4..j| 000001e0 7b b0 83 5e 7d e1 00 00 6a 00 00 00 0c 00 00 00 |{..^}...j.......| 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000400 With parted 3.3, I have that: :~# hexdump -n 1024 -C /dev/mmcblk0 00000000 fa b8 00 10 8e d0 bc 00 b0 b8 00 00 8e d8 8e c0 |................| 00000010 fb be 00 7c bf 00 06 b9 00 02 f3 a4 ea 21 06 00 |...|.........!..| 00000020 00 be be 07 38 04 75 0b 83 c6 10 81 fe fe 07 75 |....8.u........u| 00000030 f3 eb 16 b4 02 b0 01 bb 00 7c b2 80 8a 74 01 8b |.........|...t..| 00000040 4c 02 cd 13 ea 00 7c 00 00 eb fe 00 00 00 00 00 |L.....|.........| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001b0 00 00 00 00 00 00 00 00 85 1a 7c 02 00 00 00 04 |..........|.....| 000001c0 01 04 83 fe c2 ff 00 08 00 00 00 fc 34 00 00 fe |............4...| 000001d0 c2 ff 83 fe c2 ff 00 04 35 00 00 fc 34 00 80 fe |........5...4...| 000001e0 c2 ff 83 fe c2 ff 00 00 6a 00 00 00 0c 00 00 00 |........j.......| 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| 00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000400 The first and last CHS address of the partition entries are completely different and for the entry 2 and 3, first address is equal to the last ! Below is more information by parted 3.2: :~# parted /dev/mmcblk0 print unit s print unit chs print Model: MMC 004GA0 (sd/mmc) Disk /dev/mmcblk0: 3959MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 1779MB 1778MB primary 2 1779MB 3557MB 1778MB primary 3 3557MB 3959MB 403MB primary ext4 boot Model: MMC 004GA0 (sd/mmc) Disk /dev/mmcblk0: 7733248s Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 2048s 3474431s 3472384s primary 2 3474432s 6946815s 3472384s primary 3 6946816s 7733247s 786432s primary ext4 boot Model: MMC 004GA0 (sd/mmc) Disk /dev/mmcblk0: 481,94,60 Sector size (logical/physical): 512B/512B BIOS cylinder,head,sector geometry: 481,255,63. Each cylinder is 8225kB. Partition Table: msdos Disk Flags: Number Start End Type File system Flags 1 0,32,32 216,69,44 primary 2 216,69,45 432,106,57 primary 3 432,106,58 481,94,60 primary ext4 boot And the same with parted 3.3: :~# parted /dev/mmcblk0 print unit s print unit chs print Model: MMC 004GA0 (sd/mmc) Disk /dev/mmcblk0: 3959MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 1779MB 1778MB primary 2 1779MB 3557MB 1778MB primary 3 3557MB 3959MB 403MB primary ext4 boot Model: MMC 004GA0 (sd/mmc) Disk /dev/mmcblk0: 7733248s Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 2048s 3474431s 3472384s primary 2 3474432s 6946815s 3472384s primary 3 6946816s 7733247s 786432s primary ext4 boot Model: MMC 004GA0 (sd/mmc) Disk /dev/mmcblk0: 15163,58,1 Sector size (logical/physical): 512B/512B BIOS cylinder,head,sector geometry: 15163,255,2. Each cylinder is 261kB. Partition Table: msdos Disk Flags: Number Start End Type File system Flags 1 4,4,0 6812,155,1 primary 2 6812,156,0 13621,52,1 primary 3 13621,53,0 15163,58,1 primary ext4 boot The main difference I spotted is the BIOS geometry: - parted 3.2: 481 cylinder, 255 head, 63 sector (cylinder size 8225 kB) - parted 3.3: 15163 cylinder, 255 head, 2 sector (cylinder size 261 kB) I also tested parted 3.4 and parted 3.5 with the same result. Nevertheless, the partition table created by parted 3.3 and above is perfectly usable from what I see. Long story short, do you know the origin of this discrepancy (I didn't see nothing in release not that could explain that though I obviously don't understan all the mechanics) and if it is possible to come back to the same kind of MBR generated by parted 3.2 ? One additional question arises for my understanding though, how come a partition with CHS address of the first sector equal to the last one is usable ? Thanks in advance for all insights/advices you can bring to my issue. From MAILER-DAEMON Thu Jan 26 11:29:04 2023 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pL57Y-0003Tr-5u for mharc-bug-parted@gnu.org; Thu, 26 Jan 2023 11:29:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL57X-0003TR-77 for bug-parted@gnu.org; Thu, 26 Jan 2023 11:29:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pL57W-0001hO-Uw for bug-parted@gnu.org; Thu, 26 Jan 2023 11:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pL57W-000288-Hy for bug-parted@gnu.org; Thu, 26 Jan 2023 11:29:02 -0500 Subject: bug#61076: Change in MBR between parted 3.2 and 3.3 Resent-From: "Brian C. Lane" Original-Sender: "Debbugs-submit" Resent-To: bug-parted@gnu.org Resent-Date: Thu, 26 Jan 2023 16:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61076 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric?= Martinsons Cc: 61076-close@debbugs.gnu.org Mail-Followup-To: 61076@debbugs.gnu.org, bcl@redhat.com, frederic.martinsons@gmail.com Received: via spool by 61076-done@debbugs.gnu.org id=D61076.16747505078142 (code D ref 61076); Thu, 26 Jan 2023 16:29:02 +0000 Received: (at 61076-close) by debbugs.gnu.org; 26 Jan 2023 16:28:27 +0000 Received: from localhost ([127.0.0.1]:35959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL56x-00027G-Bg for submit@debbugs.gnu.org; Thu, 26 Jan 2023 11:28:27 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]:58662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL56v-000276-2S for 61076-close@debbugs.gnu.org; Thu, 26 Jan 2023 11:28:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674750504; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bqniHLng3LQLibBrIdUoG1p8zvwyRcdiVJui8POMRLM=; b=YjesUNKxdW6LnvDQFtdmJ1swJLzIX/Axd/w0i2RjNn7/3N2A1HhR3o/LjGTug6NbhLb1J0 io5qzqB63BA5XksD9romY0h3S9aX9JieqvRfNl3Sss3CI9iXG55BxgniGl8dvUV/EFgmjG 2fZSo+lci+UcjKufBOqm0Y7R+txlG3c= Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-327-4vzXCeS0OKGQnjK7IFVsrw-1; Thu, 26 Jan 2023 11:28:21 -0500 X-MC-Unique: 4vzXCeS0OKGQnjK7IFVsrw-1 Received: by mail-pf1-f198.google.com with SMTP id j1-20020aa78001000000b0057d28e11cb6so1134826pfi.11 for <61076-close@debbugs.gnu.org>; Thu, 26 Jan 2023 08:28:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bqniHLng3LQLibBrIdUoG1p8zvwyRcdiVJui8POMRLM=; b=Avzia2ImdYBPv00ujdd3C3LIepcid6j21Iw3d1pU2A8q1LkxMFOi60s2VXbSxJcip4 OxfG4elRHtpoNhGmQRFNpAXZFxAJnbFTzPvKElRDLg+FGEDTmFoyEveOzDLiGktbMh8H 5Jntx+R+WQgeNiCzvoqN2ReomzPZpIGiZgNeol3vYS2CzEhHI5vRTTnXG9H/nRUoTFab +gwRolnZ8olA8pFEI7vgMQeqVKBfIRumbNyX8q+sYEpD+j/K1keKUaRIpjFHswDEop6i Yq4Ny7W2PszFGW1+FaVia+kEG2Z7anAgwETcnQke1Qe5QRexkpT9/4vzsoOG/x2lhvr6 v2yg== X-Gm-Message-State: AFqh2kpalxCyzAzxDsBrlY9Hkr9pibB6oU+YYakORREFMnypYNmi8YVK roX9S5voyQcHJIqaK84/xLdLDWHJWEfF7gKdMwIDHUv4pGysg2X4jRJqiUQM8PUfp8A9fmyQTdy oDPUbxz3Dy7/ehh8w8yGzv8U= X-Received: by 2002:a17:902:cccb:b0:192:b927:39d1 with SMTP id z11-20020a170902cccb00b00192b92739d1mr38503818ple.3.1674750500647; Thu, 26 Jan 2023 08:28:20 -0800 (PST) X-Google-Smtp-Source: AMrXdXu7KUA4h4WiylM60UF9UtvW67eBOXv6c5wXtDW5Ytu33WB5Q2j3g29FoqMx1hZln8QEkN1A0Q== X-Received: by 2002:a17:902:cccb:b0:192:b927:39d1 with SMTP id z11-20020a170902cccb00b00192b92739d1mr38503805ple.3.1674750500330; Thu, 26 Jan 2023 08:28:20 -0800 (PST) Received: from ohop.brianlane.com ([2601:603:5000:afe:52e5:49ff:fe52:c5be]) by smtp.gmail.com with ESMTPSA id m5-20020a170902db8500b00186b3c3e2dasm1188063pld.155.2023.01.26.08.28.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jan 2023 08:28:19 -0800 (PST) Date: Thu, 26 Jan 2023 08:28:18 -0800 From: "Brian C. Lane" Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) X-BeenThere: bug-parted@gnu.org List-Id: Bug reports for the GNU Parted disk partition editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2023 16:29:03 -0000 On Thu, Jan 26, 2023 at 11:52:36AM +0100, Frédéric Martinsons wrote: > Hello, > > I have an arm based board with an eMMC card for storage. > I cross compil an GNU/Linux OS (with yocto) for this boardand and I came > across an issue after updating parted to 3.3 and above. [snip] > > The main difference I spotted is the BIOS geometry: > - parted 3.2: 481 cylinder, 255 head, 63 sector (cylinder size 8225 kB) > - parted 3.3: 15163 cylinder, 255 head, 2 sector (cylinder size 261 kB) > > I also tested parted 3.4 and parted 3.5 with the same result. > Nevertheless, the partition table created by parted 3.3 and above is > perfectly usable from what I see. > > Long story short, do you know the origin of this discrepancy (I didn't > see nothing > in release not that could explain that though I obviously don't understan all > the mechanics) and if it is possible to come back to the same kind of > MBR generated > by parted 3.2 ? This change was introduced by commit 61dd3d4c5eb782eb43caa95342e63727db3f8281, it was needed to fix problems growing partitions when using SD cards on the Raspberry Pi. > One additional question arises for my understanding though, how come a partition > with CHS address of the first sector equal to the last one is usable ? Well, nothing should be actually using the CHS values these days. So it's possible that's a bug that doesn't matter in practice, but I'll have to look into that. Brian -- Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart From MAILER-DAEMON Thu Jan 26 11:54:03 2023 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pL5Vj-00023C-7f for mharc-bug-parted@gnu.org; Thu, 26 Jan 2023 11:54:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pL5Vh-000234-Vv for bug-parted@gnu.org; Thu, 26 Jan 2023 11:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pL5Vh-0001zy-Np for bug-parted@gnu.org; Thu, 26 Jan 2023 11:54:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pL5Vh-0005Bx-KH for bug-parted@gnu.org; Thu, 26 Jan 2023 11:54:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61076: Change in MBR between parted 3.2 and 3.3 References: In-Reply-To: Resent-From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric?= Martinsons Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Thu, 26 Jan 2023 16:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61076 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: 61076@debbugs.gnu.org Received: via spool by 61076-submit@debbugs.gnu.org id=B61076.167475203219940 (code B ref 61076); Thu, 26 Jan 2023 16:54:01 +0000 Received: (at 61076) by debbugs.gnu.org; 26 Jan 2023 16:53:52 +0000 Received: from localhost ([127.0.0.1]:36040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL5VX-0005BY-R4 for submit@debbugs.gnu.org; Thu, 26 Jan 2023 11:53:52 -0500 Received: from mail-lj1-f175.google.com ([209.85.208.175]:37740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pL5Hq-0002Qm-Nv for 61076@debbugs.gnu.org; Thu, 26 Jan 2023 11:39:43 -0500 Received: by mail-lj1-f175.google.com with SMTP id h17so2521847ljq.4 for <61076@debbugs.gnu.org>; Thu, 26 Jan 2023 08:39:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=b8fFkHk8+SiToxLVwcv6ZJA3duUkOvAXSdFlPxlaIbQ=; b=ICQJ99PCWDlDyb/9eox1EK10qiUSeScYvKA+lMVfLGuYfe7XtU6fU658jN3jM4O9lX MQuMjrDrdqwKaiptJvpvzPOvUyDkufVpACnh6IOdviEfRHgCPCRbb5Zr8UgMY77VnkKt bBBuR4kUzso5c+Tt8kqmv9TkPf3OYRnov3vGtqCYRTRKwKoFRVK5OvUGHf7VHUNUYIa4 jt9Zbr5tk63my3kVBGPN9ffmqCjOrWV6LkNaCmqfjIg5oTwKumzdW//8wYneCKP1PYLi EVZOE9pBu0Nw+HuaGxvFJtENnNIYYk1KlCN67JtZtqR0tzMid11wVYpJxiDuMUwdU8dy uvEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=b8fFkHk8+SiToxLVwcv6ZJA3duUkOvAXSdFlPxlaIbQ=; b=OlZLTBlpvm2TghtSO2632NEd2xBnaamZIEM3YzodttydBYaE4LdAlNMueb6mwv2yzt VD1XZn5qTiczqCy/VPf2fVYCzSj+HUA4ur22FUPABNtG4c32rWc1HVI/Fz2Htq4t/fF9 vpp5CWBJFkkXbOYAXoMzzM/ZcQRA/Fh0LwA6KIG8F5XhJyMF+E5Jk3dyQLnQa10ODT9z VGzL8kP7GXQM1JhD31sQbM9Lq8nRDg47zL7BIY2H6T//5+uK9S4sFVXp15m5BCwf4uAL I9E89aHaVqaNfNOIABCG3hqZgTyE8OeInW/3aGENONtIFaXcvaHVY5CDG+ODjHwE+CKw 7upw== X-Gm-Message-State: AFqh2kqXLOjqu/APRb+6Cw/m50X0J8JLL+LmQijrHBhQyYwM+vwAZ+J2 fbrDlqkamACtVvokoN8Bh7ncd/1llkCobhi9sSLA4AHa9Jg= X-Google-Smtp-Source: AMrXdXsDi33FOgj7FFMDEZ4nJ1he1gaHQfoHT0c3vHE3nw6fPf3Xd/Cfz1mtc3+P0m9WOXVHkLWdRA0uDwjx59VxmY8= X-Received: by 2002:a2e:7208:0:b0:28b:761d:6594 with SMTP id n8-20020a2e7208000000b0028b761d6594mr2636889ljc.52.1674751175878; Thu, 26 Jan 2023 08:39:35 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric?= Martinsons Date: Thu, 26 Jan 2023 17:39:24 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Thu, 26 Jan 2023 11:53:50 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) X-BeenThere: bug-parted@gnu.org List-Id: Bug reports for the GNU Parted disk partition editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2023 16:54:02 -0000 > This change was introduced by commit > 61dd3d4c5eb782eb43caa95342e63727db3f8281, it was needed to fix problems > growing partitions when using SD cards on the Raspberry Pi. OK , thank you very much for the explanation. Since I don't use raspberry Pi among my targets, do you think I can safely run a custom parted with a revert of 61dd3d4c5eb782eb43caa95342e63727db3f8281 ? > Well, nothing should be actually using the CHS values these days. So > it's possible that's a bug that doesn't matter in practice, but I'll > have to look into that. OK I understand, since you close the present bug, do you know where I can have your conclusion when you'll have time to look at it ? Thanks again for the quick answer by the way. From MAILER-DAEMON Fri Jan 27 04:54:04 2023 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pLLQq-0000Qu-7S for mharc-bug-parted@gnu.org; Fri, 27 Jan 2023 04:54:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLLQo-0000Qg-2a for bug-parted@gnu.org; Fri, 27 Jan 2023 04:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLLQn-0005f7-RE for bug-parted@gnu.org; Fri, 27 Jan 2023 04:54:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLLQn-0000sy-OY for bug-parted@gnu.org; Fri, 27 Jan 2023 04:54:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61076: Change in MBR between parted 3.2 and 3.3 Resent-From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric?= Martinsons Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Fri, 27 Jan 2023 09:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61076 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: "Brian C. Lane" , 61076@debbugs.gnu.org Received: via spool by 61076-submit@debbugs.gnu.org id=B61076.16748132063339 (code B ref 61076); Fri, 27 Jan 2023 09:54:01 +0000 Received: (at 61076) by debbugs.gnu.org; 27 Jan 2023 09:53:26 +0000 Received: from localhost ([127.0.0.1]:36762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLLQE-0000rl-5y for submit@debbugs.gnu.org; Fri, 27 Jan 2023 04:53:26 -0500 Received: from mail-lf1-f43.google.com ([209.85.167.43]:34427) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLJsJ-0006Rz-Q7 for 61076@debbugs.gnu.org; Fri, 27 Jan 2023 03:14:20 -0500 Received: by mail-lf1-f43.google.com with SMTP id cf42so6990164lfb.1 for <61076@debbugs.gnu.org>; Fri, 27 Jan 2023 00:14:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=wl5dGMsKq2M+0JoA+p/mXCICjKPfx2mFM9c0Mjkehq0=; b=W/5d0VIinhxAI0C0KpA/1NcAG3APlAYQZx1C9OtTvumn+tr8vqMNxRvItki6WSr21P oeVRm0Vp43wBLU0Z9/PfygW3tzJ9avkC6kIJfAwvhxJG28gviMk8FhceB6COojVimXXm VcGFdB2g+A0IOYhTC+RUuP2neyWzFF9hs332xwoWMGfNrcpvHkyYFs70Ioj20x6TeeRa r9zbgKdj2uNmgeQhT9PtE4OJgomk0vZOfIisMFwOOmhKlJ/2pAwdb/7Sbg4fWa6ldrpW NH1oi6Ljh46ugbITYs1/Y9UquJmkCW+jNX3Jd0mBujmA75LR0NzsEHPk/M8P/Br2vXCR CRSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wl5dGMsKq2M+0JoA+p/mXCICjKPfx2mFM9c0Mjkehq0=; b=Rje2dB3SmM9XapAy3uzPQW3lgiYdAfsalcNkTuK/z32UHN58QT+Bom+f4OWp8pdDjI md+Vku1vF6T0Pg3bCUS9Oh4qfxVejQ1K/y+fW/P8uN3+lu3OX6au49AmEJGPFDguEbLT cf0e/6bILiJFuv8dT5ytFWOWa4QHCPVTeyaLQCZ2eJ9HZO6/HNifiSUJqVI9kB39x2kE Mu+lyrpBJWjJ0ZiOpQX+kJXCNHSj+qVp8G5j/wDE5qrgFzNDgZofORBk4ltnqfForhuT khCVQRKbQ89UFvq8lt0qfklesCJrM+Qa5ZeSSF43JFT7KQueWj9yvlrOctm1vga/gMNU uPIw== X-Gm-Message-State: AFqh2kqBibbeuKenKDCsGp5lKdE0eWZhcRjqGrW3scWYBZS0T+OZIc1t 6mgOYpSEvFeXRIedaQ9qD6geh1UgXZNOQtLbAn4= X-Google-Smtp-Source: AMrXdXtosIL8EwYvIs15NaFz55qKR9F5DXfrW6727/gRjIOzoW4qqPGEC0WDn4FnrstsvHYhX+ARPgX/pcy9/kmUOFk= X-Received: by 2002:a05:6512:3b0a:b0:4cc:9438:3b71 with SMTP id f10-20020a0565123b0a00b004cc94383b71mr3631692lfv.239.1674807253453; Fri, 27 Jan 2023 00:14:13 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric?= Martinsons Date: Fri, 27 Jan 2023 09:14:01 +0100 Message-ID: Content-Type: multipart/mixed; boundary="00000000000068fd3a05f33a738f" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Fri, 27 Jan 2023 04:53:25 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) X-BeenThere: bug-parted@gnu.org List-Id: Bug reports for the GNU Parted disk partition editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2023 09:54:03 -0000 --00000000000068fd3a05f33a738f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > > OK , thank you very much for the explanation. Since I don't use > > raspberry Pi among my targets, do you think I can safely run a custom > > parted with a revert of 61dd3d4c5eb782eb43caa95342e63727db3f8281 ? > That's probably fine, as long as you know what you are doing ;) Ok I'll go this way, thanks. > > OK I understand, since you close the present bug, do you know where I > > can have your conclusion when you'll have time to look at it ? > > > > Thanks again for the quick answer by the way. > I'm *hoping* to get a new parted release ready sometime soon, but I'm > not yet sure when. I have a few other things to review and I'll take a > look at this at the same time to make sure it's not a bug. Fine, I'll keep a look to the parted release then ;) By the way, I come up with a patch (joined) which is a mix of revert 61dd3d4c5eb782eb43caa95342e63727db3f8281 and taken into account 52360db2f5397b7842d2ed90bf946c5e8fa91750 (which mention some kind of regression too): Have a nice day On Thu, 26 Jan 2023 at 19:50, Brian C. Lane wrote: > > On Thu, Jan 26, 2023 at 05:39:24PM +0100, Fr=C3=A9d=C3=A9ric Martinsons w= rote: > > > This change was introduced by commit > > > 61dd3d4c5eb782eb43caa95342e63727db3f8281, it was needed to fix proble= ms > > > growing partitions when using SD cards on the Raspberry Pi. > > > > OK , thank you very much for the explanation. Since I don't use > > raspberry Pi among my targets, do you think I can safely run a custom > > parted with a revert of 61dd3d4c5eb782eb43caa95342e63727db3f8281 ? > > That's probably fine, as long as you know what you are doing ;) > > > > > > Well, nothing should be actually using the CHS values these days. So > > > it's possible that's a bug that doesn't matter in practice, but I'll > > > have to look into that. > > > > OK I understand, since you close the present bug, do you know where I > > can have your conclusion when you'll have time to look at it ? > > > > Thanks again for the quick answer by the way. > > I'm *hoping* to get a new parted release ready sometime soon, but I'm > not yet sure when. I have a few other things to review and I'll take a > look at this at the same time to make sure it's not a bug. > > Brian > > -- > Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart > --00000000000068fd3a05f33a738f Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Get-back-the-old-way-of-getting-device-geometry-info.patch" Content-Disposition: attachment; filename="0001-Get-back-the-old-way-of-getting-device-geometry-info.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lde8yhj80 RnJvbSAwMDg1MWY5YjVjMDQ5ZDE4YTZkNDlkNjllYzJkNWQxMzU0NGY1NjE2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBGcmVkZXJpYyBNYXJ0aW5zb25zIDxmcmVkZXJpYy5tYXJ0aW5z b25zQGdtYWlsLmNvbT4KRGF0ZTogRnJpLCAyNyB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PmJpb3NfZ2VvbS5zZWN0b3JzID0gZ2VvbWV0cnkuc2VjdG9yczsKICAgICAgICAg ICAgICAgICBkZXYtPmJpb3NfZ2VvbS5oZWFkcyA9IGdlb21ldHJ5LmhlYWRzOwogICAgICAgICB9 IGVsc2UgewotLSAKMi4zNC4xCgo= --00000000000068fd3a05f33a738f-- From MAILER-DAEMON Fri Jan 27 09:29:03 2023 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pLPix-0004WI-Qw for mharc-bug-parted@gnu.org; Fri, 27 Jan 2023 09:29:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLPix-0004W5-42 for bug-parted@gnu.org; Fri, 27 Jan 2023 09:29:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLPiw-0005Fz-Hi for bug-parted@gnu.org; Fri, 27 Jan 2023 09:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLPiw-0004nh-0P for bug-parted@gnu.org; Fri, 27 Jan 2023 09:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61076: Change in MBR between parted 3.2 and 3.3 Resent-From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric?= Martinsons Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Fri, 27 Jan 2023 14:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61076 X-GNU-PR-Package: parted X-GNU-PR-Keywords: To: "Brian C. Lane" , 61076@debbugs.gnu.org Received: via spool by 61076-submit@debbugs.gnu.org id=B61076.167482972618432 (code B ref 61076); Fri, 27 Jan 2023 14:29:01 +0000 Received: (at 61076) by debbugs.gnu.org; 27 Jan 2023 14:28:46 +0000 Received: from localhost ([127.0.0.1]:36963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLPif-0004nD-55 for submit@debbugs.gnu.org; Fri, 27 Jan 2023 09:28:46 -0500 Received: from mail-lf1-f43.google.com ([209.85.167.43]:33329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLMRL-0002iK-SK for 61076@debbugs.gnu.org; Fri, 27 Jan 2023 05:58:40 -0500 Received: by mail-lf1-f43.google.com with SMTP id a11so7648158lfg.0 for <61076@debbugs.gnu.org>; Fri, 27 Jan 2023 02:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=l14z/VPUbUUaHu3xN1pR2fq672qkQ8A8gCGRQxrgcA0=; b=Rw+Y8OgnGktTmzmgiN9JpAT3pJ7p5R+gnIm1YN87Axl+LXz//0+2eR2OKawzo1ov90 ylvft4Kd9lLeoHbu+0N9FJzG2PvPaJYXP3Bds6PiSltgYUfVQqwclfr0TzMGY41RCmat muHQH5LmSJ0Ob/w2NNp84eYjN14XDrS60rot/1fTzlqYsu7/MF7YCs6FjGL5WyYszZL4 mxKqf+xHAhN9qgNR1LTrT3bTPAP/Scm+WvnmiIYmLeengZa7Po82eikfT6HGMpYIoBiC oqYoEI0pXX0p1PtndKYdcI4Gth7KUayo92CmD3WZd/ciemzYKVVriPVZ30H/hHlHtAQx tKXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l14z/VPUbUUaHu3xN1pR2fq672qkQ8A8gCGRQxrgcA0=; b=eTMqn0V2SWqxF+kRymZJDb7ymrSsto4AfgxkdO4U3/NCzr5tR9M5WDF1ApAkF2hRG8 jqQ0WJdH8yJBeNHkef0oPXszre3B3KYbosqoV+1FzqW9iwf+0DL/AvTwCJDmrDtayoGl OjPb5jgGAhwocfVBQfYpXEYjEya/E6AqQ7NxCuQVC0FRPNR+IpfbHUvEcO4vmiNX8mgp S9UCpArWvQzN28ZEAPGk7DeeZdkHktKieMY178OY5Z8POUBVUSI8061dWYkSkHOWa/PD oW8boVoYABjqZnnVvhQsku3IuHtotp1epMmSOdhf4sk8+4KnrQIOeeud1DHKhZb4Gomb tsBg== X-Gm-Message-State: AFqh2koVMp69FmTVdu0YyEEBnSNA+L/kmcvXveyJ3tDti+FOHlSTuP53 EZurL+3BkbzdS3iRzqi7Zmtn5OIT3kwGhumCwYc= X-Google-Smtp-Source: AMrXdXsB3VmGujw8zD1DVuo3iCl+rA4AFLCo90d676ZdRzjCqNILDlt7XonQj1BWYqWCQlqJy06Rt93NFLGTSN3mWJs= X-Received: by 2002:a05:6512:3416:b0:4d5:a94a:f40f with SMTP id i22-20020a056512341600b004d5a94af40fmr1510389lfr.300.1674817113604; Fri, 27 Jan 2023 02:58:33 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric?= Martinsons Date: Fri, 27 Jan 2023 11:58:22 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Fri, 27 Jan 2023 09:28:44 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) X-BeenThere: bug-parted@gnu.org List-Id: Bug reports for the GNU Parted disk partition editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2023 14:29:03 -0000 After more testing with the mentioned patch applied on parted 3.3, I still have differences on the MBR toward parted 3.2, below is what I got now: :~# hexdump -n 1024 -C /dev/mmcblk0 00000000 fa b8 00 10 8e d0 bc 00 b0 b8 00 00 8e d8 8e c0 |..............= ..| 00000010 fb be 00 7c bf 00 06 b9 00 02 f3 a4 ea 21 06 00 |...|.........!= ..| 00000020 00 be be 07 38 04 75 0b 83 c6 10 81 fe fe 07 75 |....8.u.......= .u| 00000030 f3 eb 16 b4 02 b0 01 bb 00 7c b2 80 8a 74 01 8b |.........|...t= ..| 00000040 4c 02 cd 13 ea 00 7c 00 00 eb fe 00 00 00 00 00 |L.....|.......= ..| 00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |..............= ..| * 000001b0 00 00 00 00 00 00 00 00 11 95 8b 42 00 00 00 00 |...........B..= ..| 000001c0 01 20 83 03 d0 ff 00 08 00 00 00 fc 34 00 00 03 |. ..........4.= ..| 000001d0 d0 ff 83 03 d0 ff 00 04 35 00 00 fc 34 00 80 03 |........5...4.= ..| 000001e0 d0 ff 83 03 d0 ff 00 00 6a 00 00 00 0c 00 00 00 |........j.....= ..| 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............= U.| 00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |..............= ..| And the partition table info: :~# parted /dev/mmcblk0 print unit s print unit chs print Model: MMC 004GA0 (sd/mmc) Disk /dev/mmcblk0: 3959MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 1779MB 1778MB primary 2 1779MB 3557MB 1778MB primary 3 3557MB 3959MB 403MB primary ext4 boot Model: MMC 004GA0 (sd/mmc) Disk /dev/mmcblk0: 7733248s Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 2048s 3474431s 3472384s primary 2 3474432s 6946815s 3472384s primary 3 6946816s 7733247s 786432s primary ext4 boot Model: MMC 004GA0 (sd/mmc) Disk /dev/mmcblk0: 120831,3,15 Sector size (logical/physical): 512B/512B BIOS cylinder,head,sector geometry: 120832,4,16. Each cylinder is 32.8kB. Partition Table: msdos Disk Flags: Number Start End Type File system Flags 1 32,0,0 54287,3,15 primary 2 54288,0,0 108543,3,15 primary 3 108544,0,0 120831,3,15 primary ext4 boot In parted 3.2, I had the following geometry: BIOS cylinder,head,sector geometry: 481,255,63. Each cylinder is 8225kB. In 3.3 vanilla: BIOS cylinder,head,sector geometry: 15163,255,2. Each cylinder is 261kB. In 3.3 patched: BIOS cylinder,head,sector geometry: 120832,4,16. Each cylinder is 32.8kB. Like you said earlier "nothing should be actually using the CHS values these days", and indeed my system could be bootable with these changes, but my problem is that I have a TPM chip which check the content of the MBR and refuses to continue booting process if the content of it is not what is expected. Do you see other changes that have been made in parted 3.3 which impact the= MBR content in such a way ? On Fri, 27 Jan 2023 at 09:14, Fr=C3=A9d=C3=A9ric Martinsons wrote: > > > > OK , thank you very much for the explanation. Since I don't use > > > raspberry Pi among my targets, do you think I can safely run a custom > > > parted with a revert of 61dd3d4c5eb782eb43caa95342e63727db3f8281 ? > > > That's probably fine, as long as you know what you are doing ;) > > Ok I'll go this way, thanks. > > > > OK I understand, since you close the present bug, do you know where I > > > can have your conclusion when you'll have time to look at it ? > > > > > > Thanks again for the quick answer by the way. > > > I'm *hoping* to get a new parted release ready sometime soon, but I'm > > not yet sure when. I have a few other things to review and I'll take a > > look at this at the same time to make sure it's not a bug. > > Fine, I'll keep a look to the parted release then ;) > By the way, I come up with a patch (joined) which is a mix of revert > 61dd3d4c5eb782eb43caa95342e63727db3f8281 and > taken into account 52360db2f5397b7842d2ed90bf946c5e8fa91750 > (which mention some kind of regression too): > > Have a nice day > > On Thu, 26 Jan 2023 at 19:50, Brian C. Lane wrote: > > > > On Thu, Jan 26, 2023 at 05:39:24PM +0100, Fr=C3=A9d=C3=A9ric Martinsons= wrote: > > > > This change was introduced by commit > > > > 61dd3d4c5eb782eb43caa95342e63727db3f8281, it was needed to fix prob= lems > > > > growing partitions when using SD cards on the Raspberry Pi. > > > > > > OK , thank you very much for the explanation. Since I don't use > > > raspberry Pi among my targets, do you think I can safely run a custom > > > parted with a revert of 61dd3d4c5eb782eb43caa95342e63727db3f8281 ? > > > > That's probably fine, as long as you know what you are doing ;) > > > > > > > > > Well, nothing should be actually using the CHS values these days. S= o > > > > it's possible that's a bug that doesn't matter in practice, but I'l= l > > > > have to look into that. > > > > > > OK I understand, since you close the present bug, do you know where I > > > can have your conclusion when you'll have time to look at it ? > > > > > > Thanks again for the quick answer by the way. > > > > I'm *hoping* to get a new parted release ready sometime soon, but I'm > > not yet sure when. I have a few other things to review and I'll take a > > look at this at the same time to make sure it's not a bug. > > > > Brian > > > > -- > > Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart > > From MAILER-DAEMON Sat Jan 28 18:43:04 2023 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pLuqe-0005yb-Kh for mharc-bug-parted@gnu.org; Sat, 28 Jan 2023 18:43:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLuqd-0005yP-4X for bug-parted@gnu.org; Sat, 28 Jan 2023 18:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLuqc-0005dn-Sp for bug-parted@gnu.org; Sat, 28 Jan 2023 18:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLuqc-0005Xe-HI for bug-parted@gnu.org; Sat, 28 Jan 2023 18:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61128: [PATCH] Use complementation correctly in shell globs Resent-From: Kerin Millar Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Sat, 28 Jan 2023 23:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61128 X-GNU-PR-Package: parted X-GNU-PR-Keywords: patch To: 61128@debbugs.gnu.org X-Debbugs-Original-To: bug-parted@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167494933521243 (code B ref -1); Sat, 28 Jan 2023 23:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jan 2023 23:42:15 +0000 Received: from localhost ([127.0.0.1]:41750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLupq-0005WZ-JE for submit@debbugs.gnu.org; Sat, 28 Jan 2023 18:42:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:47002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLupn-0005WP-J2 for submit@debbugs.gnu.org; Sat, 28 Jan 2023 18:42:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLupm-0005uo-K6 for bug-parted@gnu.org; Sat, 28 Jan 2023 18:42:11 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLupk-0005Ta-R4 for bug-parted@gnu.org; Sat, 28 Jan 2023 18:42:10 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1C5F05C00E2 for ; Sat, 28 Jan 2023 18:42:07 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 28 Jan 2023 18:42:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plushkava.net; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1674949327; x=1675035727; bh=OMiRT/oCfIqh2hGFgrqqxNVUVeNx5WAO/GZ Iie77L64=; b=qcuP+TE8O288KdICYGLYBIh3EmVnhsPkEAJX7E1vxIKIprcKM39 2AfgLdvcusMv5m3utlGKPmFsDsjDpsrTUHLCBQVl7Jzg2kbJVbFDoAIUozZNOTxj biSxXqkAle8cUsNmlWpfJV3rsbYj5y5ejSN3ziP+yfSu2j/wBd2JdS4xuQawWiDb RQHNpPJNnWt0b1iSsrC1vG3TVPZX3o+XtpX3BDKMRFc8B99KYN0gBZAx68sckX98 uRLdmFXIPiFB9QRZyRUWyOUCr4kfme42XZG8Ai5GQxGGQbrwUjy91oJn7sWvDVKy f5jUIzQ0Cgl1+voR3zoXg6U/sKDOiWLPFcg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1674949327; x= 1675035727; bh=OMiRT/oCfIqh2hGFgrqqxNVUVeNx5WAO/GZIie77L64=; b=l ZgmP70gJR9HZRdVfL0L8Ur8SHfydjDbwjo6Fvpuk2g4qXtdX2DovPYlFIj8aDtW7 DorakfNPkdXUeYR+95M1vB60ZaG5Kk8/mzP6bdaJWly8ZgWaMWvUYQ49NSm/DFbn H5ajEwM9Gpq5JRtDmKixwDSD9mFzjslRkKQYYvT+knSIgYp4Dar+mW9pDICOMQOA PUlrOweG48hhvTgxwqNm9GAF2xNuUmNNYDjwPJqosgUqIgp96NMNAeeiEmU3DJmR BQ+WYeJFJuQhH39Ww9l6F+i3jDJ9rki7lq5B0lnJKLYUGU96sbPZJWLZap9uVBqc j0ZeZNVBSZbVvhUXnM7pA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvledgudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkofggtgesmhdtreerjf dtvdenucfhrhhomhepmfgvrhhinhcuofhilhhlrghruceokhhfmhesphhluhhshhhkrghv rgdrnhgvtheqnecuggftrfgrthhtvghrnhepffevgeejudeutddttdelueeugfdvtdetke ehvdeigeevteefudeuudethedvfeetnecuffhomhgrihhnpehgvghnthhoohdrohhrghen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkfhhmse hplhhushhhkhgrvhgrrdhnvght X-ME-Proxy: Feedback-ID: i2431475f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 28 Jan 2023 18:42:06 -0500 (EST) Date: Sat, 28 Jan 2023 23:42:05 +0000 From: Kerin Millar Message-Id: <20230128234205.b56737e99f1f9cec945f2755@plushkava.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sat__28_Jan_2023_23_42_05_+0000_9fRXMhQJ.Y8pQuVX" Received-SPF: pass client-ip=66.111.4.28; envelope-from=kfm@plushkava.net; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) X-BeenThere: bug-parted@gnu.org List-Id: Bug reports for the GNU Parted disk partition editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2023 23:43:03 -0000 This is a multi-part message in MIME format. --Multipart=_Sat__28_Jan_2023_23_42_05_+0000_9fRXMhQJ.Y8pQuVX Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello, The attached patch rectifies a spurious test failure reported at https://bugs.gentoo.org/890869. As explained by the commit message, the exclamation mark character should be used to perform negations within bracket expressions, not the circumflex character. -- Kerin Millar --Multipart=_Sat__28_Jan_2023_23_42_05_+0000_9fRXMhQJ.Y8pQuVX Content-Type: application/octet-stream; name="0001-Use-complementation-correctly-in-shell-globs.patch" Content-Disposition: attachment; filename="0001-Use-complementation-correctly-in-shell-globs.patch" Content-Transfer-Encoding: base64 RnJvbSBjN2I1YzA0MDgzYjhmYzIxYzNlMGQwNDQzNzU2MzFkNTU5ZTEyMmUzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLZXJpbiBNaWxsYXIgPGtmbUBwbHVzaGthdmEubmV0PgpEYXRl OiBXZWQsIDI1IEphbiAyMDIzIDE1OjI2OjQ2ICswMDAwClN1YmplY3Q6IFtQQVRDSF0gVXNlIGNv bXBsZW1lbnRhdGlvbiBjb3JyZWN0bHkgaW4gc2hlbGwgZ2xvYnMKCk5lZ2F0aW9uIHNob3VsZCBi ZSBwZXJmb3JtZWQgYnkgdXNpbmcgdGhlIDxleGNsYW1hdGlvbi1tYXJrPiBjaGFyYWN0ZXIuCkF0 dGVtcHRpbmcgdG8gdXNlIHRoZSA8Y2lyY3VtZmxleD4gc2hhbGwgcmVzdWx0IGluIHVuZGVmaW5l ZCBiZWhhdmlvdXIuCgpEYXNoIHVzZWQgdG8gdG9sZXJhdGUgdGhpcyB2aW9sYXRpb24gb2YgdGhl IHN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IHJldHVybiAxOzsgZXNhYwog CiAgICMgZ2V0IHRoZSBmaXJzdCBieXRlIG9mIHRoZSBuYW1lCiAgIGxvY2FsIG9yaWdfcHRlX25h bWVfYnl0ZQpAQCAtMTg4LDcgKzE4OCw3IEBAIGdwdF9yZXN0b3JlX3ByaW1hcnlfdGFibGVfKCkK ICAgY2FzZSAkIyBpbiAzKSA7OyAqKSBlY2hvICIkMDogZXhwZWN0ZWQgMiBhcmdzLCBnb3QgJCMi ID4mMjsgcmV0dXJuIDE7OyBlc2FjCiAgIGxvY2FsIGRldj0kMQogICBsb2NhbCBzcz0kMgotICBj YXNlICRzcyBpbiAqW14wLTldKikgZWNobyAiJDA6IGludmFsaWQgc2VjdG9yIHNpemU6ICRzcyI+ JjI7IHJldHVybiAxOzsgZXNhYworICBjYXNlICRzcyBpbiAqWyEwLTldKikgZWNobyAiJDA6IGlu dmFsaWQgc2VjdG9yIHNpemU6ICRzcyI+JjI7IHJldHVybiAxOzsgZXNhYwogICBsb2NhbCBvcmln X2J5dGU9JDMKICAgcG9rZV8gJGRldiAkKGdwdDFfcHRlX25hbWVfb2Zmc2V0XyAkc3MpICIkb3Jp Z19ieXRlIiB8fCByZXR1cm4gMQogfQotLSAKMi4zOS4xCgo= --Multipart=_Sat__28_Jan_2023_23_42_05_+0000_9fRXMhQJ.Y8pQuVX-- From MAILER-DAEMON Sat Jan 28 19:54:05 2023 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pLvxN-0003RG-0C for mharc-bug-parted@gnu.org; Sat, 28 Jan 2023 19:54:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLvxL-0003R6-7E for bug-parted@gnu.org; Sat, 28 Jan 2023 19:54:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLvxK-0006mh-VP for bug-parted@gnu.org; Sat, 28 Jan 2023 19:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLvxK-0007O1-94 for bug-parted@gnu.org; Sat, 28 Jan 2023 19:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61129: [PATCH] Use any available UTF-8 locale in t0251; skip if none found Resent-From: Kerin Millar Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Sun, 29 Jan 2023 00:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61129 X-GNU-PR-Package: parted X-GNU-PR-Keywords: patch To: 61129@debbugs.gnu.org X-Debbugs-Original-To: bug-parted@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167495362328363 (code B ref -1); Sun, 29 Jan 2023 00:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jan 2023 00:53:43 +0000 Received: from localhost ([127.0.0.1]:41767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLvx0-0007NP-LK for submit@debbugs.gnu.org; Sat, 28 Jan 2023 19:53:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:48554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLvwv-0007NC-Vh for submit@debbugs.gnu.org; Sat, 28 Jan 2023 19:53:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLvwv-0003QE-KR for bug-parted@gnu.org; Sat, 28 Jan 2023 19:53:37 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLvwt-0006m7-Er for bug-parted@gnu.org; Sat, 28 Jan 2023 19:53:37 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 860F85C018D for ; Sat, 28 Jan 2023 19:53:34 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sat, 28 Jan 2023 19:53:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plushkava.net; h=cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t= 1674953614; x=1675040014; bh=asqDMnd3DApa6Ue5O6EkxWSvJm1B6166lXG t9UL6bgA=; b=k9vB8sP3xWlrGia+ZmHkLpWVaqhALHOyP7cOVU/MZ1aNFA6WQPl YUPAryKchGFHAYdgtzGjbO0yQd/+Q7LrtIJocyofjBiLb3mROBO/uPtESCR5sglf JVFkBR9w3m6e/V5xUrAr+ES/Fo5nbXXjh4+FjY+c7wJ6uQ+bTzcBgLYN0Ymkq9qH I9U5QOxTSXnmSF3+BgeK+i8/X1yJPCIaG+rza4DVSp+XyGgrg6NmM082gmht3T4H /IqpVwY4MVOXUoJ2uWUjurzyJTTIO4FhFn1zDdhXBDgC9SdRJnr/WcZUb1wWIOQb VY7trYSqp7HoGpfLOqafNuwa2cm6VpGz2KQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1674953614; x= 1675040014; bh=asqDMnd3DApa6Ue5O6EkxWSvJm1B6166lXGt9UL6bgA=; b=e EK4QvVTFGEvCdsOsoafSed9t1cgEc7XSH4S3XYSJLL7MzSIvj9BQl4ynVDzlKBXx rSX57zpIHMRYZ2QzK49b+Hxrvivhp+lXGjLg630aSM7K3upXsLRf4Cnx9PDfHwWE j/SStl0tUN5Q0TZfA3HgBz0zPAPPQ7oVC3k/aMHPHUk9bEbkGYpeHiC77qeBoAj4 sDVVBbbd5LGsnraF3Gudz32C6zWJtZDZUsMJ/2q37aE7M2ObSwOjIPh1/c7IoJUw JTw9StVb61dUHaOYnUB3HaQyyGtwHukV/y6K7EEmHyiFi0ku0IPVpeOQKCSm9jCQ SJYi2jHGCmk75qm2eMDwQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddvledgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkofggtgesmhdtreerjf dtvdenucfhrhhomhepmfgvrhhinhcuofhilhhlrghruceokhhfmhesphhluhhshhhkrghv rgdrnhgvtheqnecuggftrfgrthhtvghrnhepffevgeejudeutddttdelueeugfdvtdetke ehvdeigeevteefudeuudethedvfeetnecuffhomhgrihhnpehgvghnthhoohdrohhrghen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkfhhmse hplhhushhhkhgrvhgrrdhnvght X-ME-Proxy: Feedback-ID: i2431475f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 28 Jan 2023 19:53:33 -0500 (EST) Date: Sun, 29 Jan 2023 00:53:32 +0000 From: Kerin Millar Message-Id: <20230129005332.c745e36a8c1de181cdb1c45c@plushkava.net> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Sun__29_Jan_2023_00_53_32_+0000_FH=YfVSG0r.ZpPly" Received-SPF: pass client-ip=66.111.4.28; envelope-from=kfm@plushkava.net; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) X-BeenThere: bug-parted@gnu.org List-Id: Bug reports for the GNU Parted disk partition editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2023 00:54:03 -0000 This is a multi-part message in MIME format. --Multipart=_Sun__29_Jan_2023_00_53_32_+0000_FH=YfVSG0r.ZpPly Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello, The attached patch rectifies a spurious test failure reported at https://bugs.gentoo.org/753677. It increases tremendously the likelihood that test t0251 can be properly conducted by using any available UTF-8 locale for the purpose of defining the system character type, while skipping the test in the event that no such locale can be found rather than assume - potentially incorrectly - that either of en_US.UTF-8 and C.UTF-8 are available. -- Kerin Millar --Multipart=_Sun__29_Jan_2023_00_53_32_+0000_FH=YfVSG0r.ZpPly Content-Type: application/octet-stream; name="0001-Use-any-available-UTF-8-locale-in-t0251-skip-if-none.patch" Content-Disposition: attachment; filename="0001-Use-any-available-UTF-8-locale-in-t0251-skip-if-none.patch" Content-Transfer-Encoding: base64 RnJvbSBhZjhlZDY2ZTAwYmZhYzRhMTg5ZWEzMmM2MjE5OWJmZmFhM2ViODM2IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBLZXJpbiBNaWxsYXIgPGtmbUBwbHVzaGthdmEubmV0PgpEYXRl OiBTdW4sIDI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yAteiAi JExDX0NUWVBFIiBdOyB0aGVuCisJc2tpcF8gJ25vIFVURi04IHN1cHBvcnRpbmcgbG9jYWxlIGlz IGF2YWlsYWJsZScKK2ZpCitleHBvcnQgTENfQ1RZUEUKKwogZGV2PWxvb3AtZmlsZQogCiAjIGNy ZWF0ZSB6ZXJvZWQgZGV2aWNlCiB0cnVuY2F0ZSAtcyAxMG0gJGRldiB8fCBmYWlsPTEKIAotTENf QUxMPSQobG9jYWxlIC1hIHwgZ3JlcCBlbl9VUy51dGY4KQotaWYgWyAteiAiJExDX0FMTCIgXTsg dGhlbgotICAgTENfQUxMPUMuVVRGLTgKLWZpCi1leHBvcnQgTENfQUxMPSIkTENfQUxMIgogIyBj cmVhdGUgZ3B0IGxhYmVsIHdpdGggbmFtZWQgcGFydGl0aW9uCiBwYXJ0X25hbWU9JChwcmludGYg J2Zvb1wzNDFcMjY0XDI0NCcpCiBwYXJ0ZWQgLXMgJGRldiBta2xhYmVsIGdwdCBta3BhcnQgcHJp bWFyeSBleHQyIDFNaUIgMk1pQiBuYW1lIDEgJHBhcnRfbmFtZSA+IGVtcHR5IDI+JjEgfHwgZmFp bD0xCi0tIAoyLjM5LjEKCg== --Multipart=_Sun__29_Jan_2023_00_53_32_+0000_FH=YfVSG0r.ZpPly-- From MAILER-DAEMON Sun Jan 29 05:26:08 2023 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pM4sw-0004vS-Gt for mharc-bug-parted@gnu.org; Sun, 29 Jan 2023 05:26:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pM4ss-0004vG-RT for bug-parted@gnu.org; Sun, 29 Jan 2023 05:26:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pM4ss-0006vl-I1 for bug-parted@gnu.org; Sun, 29 Jan 2023 05:26:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pM4ss-0004ym-1Q for bug-parted@gnu.org; Sun, 29 Jan 2023 05:26:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61128: [PATCH] Use complementation correctly in shell globs Resent-From: =?UTF-8?Q?H=C3=A5kon_?= =?UTF-8?Q?L=C3=B8vdal?= Original-Sender: "Debbugs-submit" Resent-CC: bug-parted@gnu.org Resent-Date: Sun, 29 Jan 2023 10:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61128 X-GNU-PR-Package: parted X-GNU-PR-Keywords: patch To: Kerin Millar Cc: 61128@debbugs.gnu.org Received: via spool by 61128-submit@debbugs.gnu.org id=B61128.167498791219071 (code B ref 61128); Sun, 29 Jan 2023 10:26:02 +0000 Received: (at 61128) by debbugs.gnu.org; 29 Jan 2023 10:25:12 +0000 Received: from localhost ([127.0.0.1]:42310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pM4s4-0004xW-Gv for submit@debbugs.gnu.org; Sun, 29 Jan 2023 05:25:12 -0500 Received: from mail-pg1-f169.google.com ([209.85.215.169]:44856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pM4s2-0004xE-TB for 61128@debbugs.gnu.org; Sun, 29 Jan 2023 05:25:11 -0500 Received: by mail-pg1-f169.google.com with SMTP id g68so5792329pgc.11 for <61128@debbugs.gnu.org>; Sun, 29 Jan 2023 02:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mP6+6CNNDO63Efk3ul6h1i72jyS7zGwoTRN4jX8VTVc=; b=Au7wvNU6eZI0SnlCtFQSONS4Bd1meQt+cn08TMu15XnGykEBQT5v3P7+oZoytX5RCK /aO+hlmwEHet2Ryo0Clv+Q602qboVOYmqXoG4Xe816ra94qmch3YUP3i9QuKv+D6ymm4 rfyuVvrTq148jAK7ycLSs4dVER5iTBjTYrpRf3xJZT0BOnXYOIl/4RZM2NqKnl7rafr1 cpIKtF69tzr+P1eDqXgXbqneYauzNLR2nIL90e+6eTNI4Qdd7ExdOxRuZHp2jFDnnUnD MhbNQh8KrwMK9GHMaVtT2OLIWJXEq5kygwm7SA+PcVP0oJSZQlkOfWsD4GibvXDOJPWH ITGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mP6+6CNNDO63Efk3ul6h1i72jyS7zGwoTRN4jX8VTVc=; b=PIN+0lmOaqWQ5aRT4wzCPrLmBQFHKJEkxJpzeLtgpuJu5ZdYaIkXshbbhPjN64Sgek lZpeuDNLwe7O0B8bT9GwISP9U6NqX1UtmSTGNN7mPWnF6J03KhsSsWJB8bYw8g/m8gE2 vE9PbSojc98+ODGqvW0AQglgVEq5r0cg2sJSNGTG+/AB6LyawWVNvCB/UZYPEYjtg3GT py2/8xFEi5O67aCdATBfLDVTM2M0M18oQ+ctM4skips2q1a+rh7pYaefPoLmrqtuvvg2 kBzPMkChQc+YdELltiUqpdk+FF6JXDPrAizus1vkJ52R9XnJw9CTIMPZVPnJFk6DTFw9 y3sQ== X-Gm-Message-State: AO0yUKVtFL+VrCRsMUQPErLKlUk6VPHhxnHlWqzdAln6LFxO+dqnWg65 O9P3lUlPqscMurIGcMmDTXwFZnX8fkdl4oedSl0= X-Google-Smtp-Source: AK7set/Mtv36aDzdX3Oi+JRCQXfa4sRHw5nlQMD5921PAwblL60h8l+lJxs11XA8GA1jH7zPafhgHXU0Yk8JoQVa8wo= X-Received: by 2002:a62:1a16:0:b0:593:960a:760b with SMTP id a22-20020a621a16000000b00593960a760bmr593120pfa.20.1674987904924; Sun, 29 Jan 2023 02:25:04 -0800 (PST) MIME-Version: 1.0 References: <20230128234205.b56737e99f1f9cec945f2755@plushkava.net> In-Reply-To: <20230128234205.b56737e99f1f9cec945f2755@plushkava.net> From: =?UTF-8?Q?H=C3=A5kon_?= =?UTF-8?Q?L=C3=B8vdal?= Date: Sun, 29 Jan 2023 11:24:53 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) X-BeenThere: bug-parted@gnu.org List-Id: Bug reports for the GNU Parted disk partition editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jan 2023 10:26:04 -0000 This looks good to me. While shells often accept both ! and ^ (https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Pattern-M= atching: "3.5.8.1 Pattern Matching ... "[=E2=80=A6]" Matches any one of the enclosed characters. ... If the first character following the =E2=80=98[=E2=80=99 is a =E2=80=98!=E2= =80=99 or a =E2=80=98^=E2=80=99 then any character not enclosed is matched.") it is not portable. https://www.linux.com/news/patterns-and-string-processing-shell-scripts/: "Many users have the habit of using a caret (^) instead of ! in shell character classes. This is not portable, but it is a common extension some shells offer because habitual users of regular expressions may be more used to it. This can create an occasional surprise if you have never seen it used, and want to match a caret in a cla= ss." On Sun, 29 Jan 2023 at 00:43, Kerin Millar wrote: > > Hello, > > The attached patch rectifies a spurious test failure reported at https://= bugs.gentoo.org/890869. As explained by the commit message, the exclamation= mark character should be used to perform negations within bracket expressi= ons, not the circumflex character. > > -- > Kerin Millar