Dear James,
thank you for the updated patch. Am Dienstag, den 07.06.2011, 17:35 +0800 schrieb James Limbouris: > When power is lost before a new volatile.cache has been flushed to disk, > it can be corrupted, leaving the volatiles uncreated and causing software > failure. So the device is still booting up although the power is lost? I am still confused how this patch can fix this. I am sorry for my ignorance. > Using a temporary file on the same volume and renaming it avoids this issue. > The file is sync'd before the rename to avoid problems with newer caching > filesystems, > in which the rename is atomic, but the contents of the file may not yet be > flushed. > > Signed-off-by: James Limbouris <ja...@digitalmatter.com.au> I will commit your patch during the next days to leave some time for others to comment/review. > --- > .../initscripts-1.0/populate-volatile.sh | 10 ++++++---- > 1 files changed, 6 insertions(+), 4 deletions(-) […] Thanks, Paul
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel