u-boot/fs
Stephen Warren 6152916a95 fs: implement infrastructure for an 'exists' function
This could be used in scripts such as:

if test -e mmc 0:1 /boot/boot.scr; then
    load mmc 0:1 ${scriptaddr} /boot/boot.scr
    source ${scriptaddr}
fi

rather than:

if load mmc 0:1 ${scriptaddr} /boot/boot.scr; then
    source ${scriptaddr}
fi

This prevents errors being printed by attempts to load non-existent
files, which can be important when checking for a large set of files,
such as /boot/boot.scr.uimg, /boot/boot.scr, /boot/extlinux.conf,
/boot.scr.uimg, /boot.scr, /extlinux.conf.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
2014-02-19 09:47:33 -05:00
..
cbfs fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00
cramfs fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00
ext4 ext4fs: fix "invalid extent block" error 2014-01-20 10:09:40 -05:00
fat fs:fat: fix set file name function 2013-11-08 15:25:13 -05:00
fdos fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00
jffs2 JFFS2: Correct jffs2_1pass_build_lists to use lldiv 2013-12-13 09:16:20 -05:00
reiserfs fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00
sandbox fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00
ubifs fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00
yaffs2 yaffs2: Remove block number check from summary verification 2014-01-20 10:09:51 -05:00
zfs fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00
fs.c fs: implement infrastructure for an 'exists' function 2014-02-19 09:47:33 -05:00
Makefile fs: descend into sub directories when it is necessary 2013-11-17 14:11:34 -05:00