[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Warn the user to edit environment block by grub-editenv
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] Warn the user to edit environment block by grub-editenv |
Date: |
Tue, 5 Nov 2019 12:58:28 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Tue, Nov 05, 2019 at 09:20:22AM +0000, Michael Chang wrote:
> The environment block is a preallocated 1024-byte file serves as persistent
> storage for environment variables. It has its own format which is sensitive to
> corruption if using editor doesn't know how to process it. Besides the editor
> may inadvertantly change size allocation that could have it sparse the
> filesystem which could lead to unexpected outcome.
>
> This patch adds message in grubenv file to warn the user from editing it by
> tools other than grub-editenv.
>
> Signed-off-by: Michael Chang <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>
Daniel