Re: [PATCH] base-files: call "sync" after initial setup

2022-03-07 Thread Sergey Ryazanov
On Tue, Mar 1, 2022 at 8:51 PM Rafał Miłecki wrote: > OpenWrt uses a lot of (b)ash scripts for initial setup. This isn't the > best solution as they almost never consider syncing files / data. Still > this is what we have and we need to try living with it. > > Without proper syncing OpenWrt can ea

Re: [PATCH] base-files: call "sync" after initial setup

2022-03-02 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Koen Vandeputte" >>> Signed-off-by: Rafał Miłecki >> >> Acked-by: Hauke Mehrtens >> >> This is not the best solution as you said but a simple one. >> >> How do we handle the situation in the first boot when the overlay file >> system is not ready yet and we

Re: [PATCH] base-files: call "sync" after initial setup

2022-03-02 Thread Koen Vandeputte
On 01.03.22 19:57, Hauke Mehrtens wrote: On 3/1/22 18:46, Rafał Miłecki wrote: From: Rafał Miłecki OpenWrt uses a lot of (b)ash scripts for initial setup. This isn't the best solution as they almost never consider syncing files / data. Still this is what we have and we need to try living with

Re: [PATCH] base-files: call "sync" after initial setup

2022-03-01 Thread Hauke Mehrtens
On 3/1/22 18:46, Rafał Miłecki wrote: From: Rafał Miłecki OpenWrt uses a lot of (b)ash scripts for initial setup. This isn't the best solution as they almost never consider syncing files / data. Still this is what we have and we need to try living with it. Without proper syncing OpenWrt can ea

[PATCH] base-files: call "sync" after initial setup

2022-03-01 Thread Rafał Miłecki
From: Rafał Miłecki OpenWrt uses a lot of (b)ash scripts for initial setup. This isn't the best solution as they almost never consider syncing files / data. Still this is what we have and we need to try living with it. Without proper syncing OpenWrt can easily get into an inconsistent state on p