[U-Boot-Users] [PATCH] Fix JFFS2 command return values

CHANGELOG entry:
* Patch by Andreas Engel, 15 July 2005 fixed return values of the jffs2 commands so we can use them to, e.g., check the existence of a file with "if ls foo; then this; else that; fi" in the hush shell

Dear Andreas,
in message 20050715104441.000068e2@idefix you wrote:
- Patch by Andreas Engel, 15 July 2005 fixed return values of the jffs2 commands so we can use them to, e.g., check the existence of a file with "if ls foo; then this; else that; fi" in the hush shell
This patch is no longer applicable after our recent rework of the flash partitioning code. Can you please have a look at the current code and check if there are still any fixes needed?
Thanks a lot.
Best regards,
Wolfgang Denk

On Fri, 12 Aug 2005 23:32:08 +0200 Wolfgang Denk wrote:
This patch is no longer applicable after our recent rework of the flash partitioning code. Can you please have a look at the current code and check if there are still any fixes needed?
Ok, here is the updated patch:
CHANGELOG entry:
* fixed return values of the jffs2 commands ls/fsload/fsinfo, so we can use them to, e.g., check the existence of a file with "if ls foo; then this; else that; fi" in the hush shell Patch by Andreas Engel, 16 August 2005
Regards, Andreas Engel

In message 20050816082818.00004608@idefix you wrote:
- fixed return values of the jffs2 commands ls/fsload/fsinfo, so we can use them to, e.g., check the existence of a file with "if ls foo; then this; else that; fi" in the hush shell Patch by Andreas Engel, 16 August 2005
Checked in, thanks a lot.
Best regards,
Wolfgang Denk
participants (2)
-
Andreas Engel
-
Wolfgang Denk