Re: [PATCH] xfs: Print a warning if the filesystem needs to be repaired

2021-04-29 Thread Carlos Maiolino
On Thu, Apr 22, 2021 at 05:15:31PM +0200, Javier Martinez Canillas wrote: > Hello Vladimir, > > On 4/22/21 4:56 PM, Vladimir 'phcoder' Serbinenko wrote: > > Filesystems are not mounted in GRUB. This patch will result in GRUB > > outputting a warning on every access to any XFS that has this flag se

[PATCH] unix exec: avoid atexit handlers when child execvp fails

2021-04-29 Thread Dimitri John Ledkov
Functions `grub_util_exec_pipe()` and `grub_util_exec_pipe_stderr()` currently call `execvp()`. If the call fails for any reason, the child currently calls `exit(127)`. This in turn executes the parents `atexit()` handlers from the forked child, and then the same handlers are called again from pare

[PATCH] grub-install: Add backup and restore

2021-04-29 Thread Dimitri John Ledkov
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 atexit handle to restore the backup if errors occur before point of no return, or remove the backup if everything was successful. If atexit is not avail

Re: [PATCH] xfs: Print a warning if the filesystem needs to be repaired

2021-04-29 Thread Daniel Kiper
On Thu, Apr 29, 2021 at 11:05:20AM +0200, Carlos Maiolino wrote: > On Thu, Apr 22, 2021 at 05:15:31PM +0200, Javier Martinez Canillas wrote: > > Hello Vladimir, > > > > On 4/22/21 4:56 PM, Vladimir 'phcoder' Serbinenko wrote: > > > Filesystems are not mounted in GRUB. This patch will result in GRUB

[PATCH] Fix backspace in the username login prompt

2021-04-29 Thread Egor Ignatov
This patch fixes an old bug when backspace key does not work in the username login prompt. It allows BIDI type BN characters (control chars like '\b') in the visual line. And when grub_gfxterm_putchar recieves this line it successfully processes backspace. Signed-off-by: Egor Ignatov --- Hi, I'd