
On Mon, Sep 03, 2012 at 04:08:02PM +0200, Beno??t Th??baudeau wrote:
Dear Wolfgang Denk,
On Sunday, September 2, 2012 5:21:15 PM, Wolfgang Denk wrote:
Dear Beno??t Th??baudeau,
In message 2017658963.332562.1342790429735.JavaMail.root@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?
This already did not work before, because "fatls" is supposed to support only directories:
$ help fatls fatls - list files in a directory (default /)
Usage: fatls <interface> <dev[:part]> [directory] - list files from 'dev' on 'interface' in a 'directory'
Note that ext2ls _also_ fails to ls files so we're being consistent as I believe Wolfgang was expecting that *ls of a file would work like real ls does, but that's not the case. Applied to u-boot/master, thanks!