From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 29 Mar 2008 00:51:43 +0100 Subject: [U-Boot-Users] [PATCH] get_vfatname In-Reply-To: Your message of "Fri, 28 Mar 2008 12:37:12 +0100." <47ECD868.3040600@gandalf.sssup.it> Message-ID: <20080328235143.76136248BF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <47ECD868.3040600@gandalf.sssup.it> you wrote: > > > What exactly is the preoblem? Is there a test case that can reproduce > > the problem? > > > My test case is a 64Mb CF. Maybe I give you a link :) as soon as possible. > > The problem is that the code doesn't look if the dir_slot contain a long name. > If doesn't contain a long name is a dir_entry and the name can be get by the > get_name function. I'm not an expert of vfat filesystem, I take a look > to the linux code and to experimental result. The block that is read by the > gc_getcluster function is not a dir_slot but a dir_entry. Well, maybe you can give me a test case? Like some script to create the needed directories / files in a VFAT file system which provokes the error? 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 A direct quote from the Boss: "We passed over a lot of good people to get the ones we hired."