[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCHv2] grub-install: Add backup and restore
From: |
Colin Watson |
Subject: |
Re: [PATCHv2] grub-install: Add backup and restore |
Date: |
Mon, 7 Dec 2020 14:19:40 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Mon, Dec 07, 2020 at 12:37:28PM +0000, Dimitri John Ledkov wrote:
> Refactor clean_grub_dir to create a backup of all the files, instead
> of just irrevocably removing them as the first action. If available,
> register on_exit handle to restore the backup if any errors occur, or
> remove the backup if everything was successful. If on_exit is not
> available, the backup remains on disk for manual recovery.
Reviewed-by: Colin Watson <cjwatson@debian.org>
--
Colin Watson (he/him) [cjwatson@debian.org]