On Thu, Oct 02, 2025 at 02:46:16PM +0800, Michael Chang via Grub-devel wrote: > This patch adds the function fs_envblk_write to update the reserved > environment block on disk. The helper takes an in memory envblk buffer > and writes it back to the device at the location defined by the > fs_envblk specification. It performs size checks and uses file sync to > ensure that the updated data is flushed. > > The helper is also added into the fs_envblk ops table, together with the > open helper from the previous patch. With this change the basic input > and output path for an external environment block is complete. The > choice of which variables should be written externally will be handled > by later patches. > > Signed-off-by: Michael Chang <[email protected]> > Reviewed-by: Neal Gompa <[email protected]>
Reviewed-by: Daniel Kiper <[email protected]> Daniel _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
