From: Joe Hershberger Date: Thu, 4 Oct 2012 08:31:00 +0000 (+0000) Subject: tools: Add a README note about fw_printenv lock file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1c4ea78aa7ca53fa5b1d09753fea35908922ce55;p=project%2Fbcm63xx%2Fu-boot.git tools: Add a README note about fw_printenv lock file Add a mention of the lock file to the README for the fw_printenv tool. Signed-off-by: Joe Hershberger Reported-by: Luka Perkov --- diff --git a/tools/env/README b/tools/env/README index 3f0d77e2aa..df020e4afd 100644 --- a/tools/env/README +++ b/tools/env/README @@ -55,3 +55,7 @@ partition where the environment resides. DEVICEx_ENVSECTORS defines the number of sectors that may be used for this environment instance. On NAND this is used to limit the range within which bad blocks are skipped, on NOR it is not used. + +To prevent losing changes to the environment and to prevent confusing the MTD +drivers, a lock file at /var/lock/fw_printenv.lock is used to serialize access +to the environment.