From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Beno=C3=AEt_Th=C3=A9baudeau?= Date: Mon, 3 Sep 2012 16:08:02 +0200 (CEST) Subject: [U-Boot] [PATCH v2 5/8] FAT: Fix file contents listed as directory In-Reply-To: <20120902152115.2761D203B2F@gemini.denx.de> Message-ID: <1180961189.3414256.1346681282166.JavaMail.root@advansee.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 [directory] - list files from 'dev' on 'interface' in a 'directory' Best regards, Beno?t