diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-10-04 08:31:00 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:54:05 -0700 |
commit | 1c4ea78aa7ca53fa5b1d09753fea35908922ce55 (patch) | |
tree | b131a42e9cf7401f89eb9e6f8769404dcd7d22f4 /tools | |
parent | 586197dfe42ffda777205b02fe404107eb7d974a (diff) | |
download | u-boot-imx-1c4ea78aa7ca53fa5b1d09753fea35908922ce55.zip u-boot-imx-1c4ea78aa7ca53fa5b1d09753fea35908922ce55.tar.gz u-boot-imx-1c4ea78aa7ca53fa5b1d09753fea35908922ce55.tar.bz2 |
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 <joe.hershberger@ni.com>
Reported-by: Luka Perkov <uboot@lukaperkov.net>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/env/README | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/env/README b/tools/env/README index 3f0d77e..df020e4 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. |