Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mqc0P-00040R-Q2 for mharc-grub-devel@gnu.org; Fri, 26 Nov 2021 09:15:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqQer-00027G-2A for grub-devel@gnu.org; Thu, 25 Nov 2021 21:08:13 -0500 Received: from [2607:f8b0:4864:20::635] (port=44972 helo=mail-pl1-x635.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqQep-00064I-Jp for grub-devel@gnu.org; Thu, 25 Nov 2021 21:08:12 -0500 Received: by mail-pl1-x635.google.com with SMTP id q17so5670409plr.11 for ; Thu, 25 Nov 2021 18:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=2F6x9bxACmUxsAhRWU/6Ju6NbwM8xCOFX8s0ZrIS4mI=; b=m4Dkl89K3gBP2E4EtIlKpSPwBwMpUpc3P37rSHGxDHHL0oGj7Mhg4Wh4NQs0dKegVA J7O6wfc2ASPOFxfI7IpV/p7R9QqVujmBa0IjnFngMyhTydsNX/bcsbcY2CT88HCk8Iya HjU1/YtFDvyvq8O8WrmRSuMxh5RZjRtU20slmXx645M6UxPx8nNLCDTSBmnb43/0U8zL 4q6UXPJBoKRGWW3F1jsuIncKTC/yO38pMjacdMyFQkOzFuTlI7Cr5f5dL+k8cQhU0W7n Ib8aeexv2KRk7h4pABdDLQmBjDTKhWM2luFZLulJPrlCR+mjTJdhxQq424eeMlknMFMS lxmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=2F6x9bxACmUxsAhRWU/6Ju6NbwM8xCOFX8s0ZrIS4mI=; b=RugfhLUbnI5vgn3LXXs0XU2kiyWWNdHOtm3idGDDDLoOpMHarTKoPGh7BEedxsG7bj oLuwMg+iW920H0pfopeX6R5eznJBvhEBIfd8azUVhHvxOTPcqgUbWJua5x32FWyUt0n7 Ie1/jj7aj7yN2ETF6cys5bCxoVGdP2dz4dyA5H3kChcsPoKlJuSpE0ADJdwXJdy/q15u Qlk9ultAecA/FpwfA3COYUwXxLcEBuqPAZbY9bj1qc5BRJO/mptp9y1ywQp9Jl3zuiCS bVi4FhnOy00mid8cIYG3ZBbWLs8RuUTEg96xurP7hHJeiqktfiW3i+gZXHAi6O5tYPKE n2ig== X-Gm-Message-State: AOAM532soa+8dJbDvHWKahBWBy+zO84khRm6NRTN5IeolLwxovW5nrxe wuakabRhmdymKn/YtZlj+G0KcDke90U= X-Google-Smtp-Source: ABdhPJxbhYsdDjXYmyubXmSrZ/oTeMo2j0e3DqqWbwugm6iHEzCNM37Ws5CD3NG9vTsjIGtDZsrsMA== X-Received: by 2002:a17:903:1d2:b0:142:24f1:1213 with SMTP id e18-20020a17090301d200b0014224f11213mr35452050plh.81.1637892489649; Thu, 25 Nov 2021 18:08:09 -0800 (PST) Received: from [10.61.0.6] ([94.177.118.150]) by smtp.gmail.com with ESMTPSA id k2sm5285690pfc.9.2021.11.25.18.08.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Nov 2021 18:08:09 -0800 (PST) Message-ID: Date: Fri, 26 Nov 2021 10:08:04 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: Grub dd? Content-Language: en-US To: Daniel Kiper Cc: grub-devel@gnu.org, lists@e7p.de References: <82323121-3c8a-07ca-6918-ff6a65ea09b5@gmail.com> <20211125173958.bzoyyeu3k3vbmvpx@tomti.i.net-space.pl> From: Peter Xu In-Reply-To: <20211125173958.bzoyyeu3k3vbmvpx@tomti.i.net-space.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::635 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=xzpeter@gmail.com; helo=mail-pl1-x635.google.com X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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, NICE_REPLY_A=-4.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 26 Nov 2021 09:15:13 -0500 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2021 02:08:13 -0000 On 2021-11-26 1:39 a.m., Daniel Kiper wrote: > On Sun, Nov 21, 2021 at 11:26:24AM +0800, Peter Xu wrote: >> Hi, Grub list, >> >> I found there's no "dd" command for grub. Is there a reason? > > In general the GRUB does not support disk writes except grubenv. Though > I think we could consider addition of dd command. However, as it was > pointed out in the other email it should be disabled at least on > platforms where lockdow/UEFI Secure Boot is enforced. I see, thanks to both for the prompt response. That makes sense, I'll think about it. (Btw I think I missed the email from Endres for some reason, but I can see that in the archive) -- Peter Xu