[U-Boot] [PATCH v2 5/8] FAT: Fix file contents listed as directory

Wolfgang Denk wd at denx.de
Sun Sep 2 17:21:15 CEST 2012


Dear Benoît Thébaudeau,

In message <2017658963.332562.1342790429735.JavaMail.root at advansee.com> you wrote:
> With:
> fatls mmc 0 /dir/file
> dir: regular directory
> file: regular file
>
> The previous code read the contents of file as if it were directory entries to
> list. This patch refuses to list file contents as if it were a folder.

But this means that "fatls" on a plain file stops working?

This doesn't make sense to me.  Or what am I missing?


Patch skipped for now.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
At the source of every error which is blamed on the computer you will
find at least two human errors, including the error of blaming it  on
the computer.


More information about the U-Boot mailing list