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

2018-03-09 Thread Alex Kiernan
On Fri, Mar 9, 2018 at 12:30 PM, Wolfgang Denk wrote: > Dear Alex, > > In message <1520597582-12979-1-git-send-email-alex.kier...@gmail.com> you > wrote: >> >> For environments stored on filesystems where you can't have a redundant >> configuration, rather than just over-writing

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

2018-03-09 Thread Wolfgang Denk
Dear Alex, In message <1520597582-12979-1-git-send-email-alex.kier...@gmail.com> you 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,

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

2018-03-09 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.