Re: [U-Boot] [PATCH 0/2] Add atomic write to fw_setenv for environments on filesystems

2018-03-08 Thread Heinrich Schuchardt
On 03/08/2018 12:52 PM, Alex Kiernan wrote: For environments stored on filesystems where you can't have a redundant configuration, rather than just over-writing the existing environment in fw_setenv, do the tradtional create temporary file, rename, sync, sync directory dance to achieve ACID

[U-Boot] [PATCH 0/2] Add atomic write to fw_setenv for environments on filesystems

2018-03-08 Thread Alex Kiernan
For environments stored on filesystems where you can't have a redundant configuration, rather than just over-writing the existing environment in fw_setenv, do the tradtional create temporary file, rename, sync, sync directory dance to achieve ACID semantics when writing through fw_setenv. Note