On Wed, Sep 30, 2009 at 11:54:30PM +0100, Colin Watson wrote: > If grub-editenv create is interrupted, it's theoretically possible for > it to create an incomplete block that future grub-editenv calls won't > recognise. It would be better for it to atomically create either a > complete block or nothing. Any objections? > > 2009-09-30 Colin Watson <cjwat...@ubuntu.com> > > * util/grub-editenv.c (create_envblk_file): Write new block with a > .new suffix and then rename it into place, to ensure atomic > creation.
I've gone ahead and committed this, since it's straightforward enough. -- Colin Watson [cjwat...@ubuntu.com] _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel