Michael Chang 5e5a15872d grub-editenv: Warn a user against editing environment block
The environment block is a preallocated 1024-byte file which serves as
persistent storage for environment variables. It has its own format
which is sensitive to corruption if an editor does not know how to
process it. Besides that the editor may inadvertently change grubenv
file size and/or make it sparse which can lead to unexpected results.

This patch adds a message to the grubenv file to warn a user against
editing it by tools other than grub-editenv.

Signed-off-by: Michael Chang <mchang@suse.com>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2019-11-18 14:19:25 +01:00
..
2010-09-15 14:46:53 +02:00
2019-03-05 10:23:47 +01:00
2015-03-04 01:00:19 +01:00
2019-03-05 10:23:47 +01:00
2019-02-25 14:02:05 +01:00
2019-03-25 15:08:49 +01:00
2013-11-07 06:35:50 +01:00
2019-02-25 14:02:05 +01:00
2015-03-04 01:00:19 +01:00