public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* "Skipping dirent" message
@ 2005-11-08 13:08 Edgar Grimberg
  2005-11-08 14:38 ` Artem B. Bityutskiy
  0 siblings, 1 reply; 3+ messages in thread
From: Edgar Grimberg @ 2005-11-08 13:08 UTC (permalink / raw)
  To: linux-mtd

Hi,

I have eCos and JFFS, and I get the following message from JFFS debug 
output:

<7>Skipping dirent: "2007-01-08 08-27", ino #10, type 8, because curofs 2 < offset 3

I am not sure what it means, but the fact is that I have the "2007-01-08 08-27" directory and I want to opendir and readdir it.

Regards,
Edgar

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "Skipping dirent" message
  2005-11-08 13:08 "Skipping dirent" message Edgar Grimberg
@ 2005-11-08 14:38 ` Artem B. Bityutskiy
  2005-11-08 15:28   ` Edgar Grimberg
  0 siblings, 1 reply; 3+ messages in thread
From: Artem B. Bityutskiy @ 2005-11-08 14:38 UTC (permalink / raw)
  To: Edgar Grimberg; +Cc: linux-mtd

Edgar Grimberg wrote:
> Hi,
> 
> I have eCos and JFFS, and I get the following message from JFFS debug 
> output:
> 
> <7>Skipping dirent: "2007-01-08 08-27", ino #10, type 8, because curofs 
> 2 < offset 3
Don't enable debug output if you don't want to see this message :-)

> I am not sure what it means, but the fact is that I have the "2007-01-08 
> 08-27" directory and I want to opendir and readdir it.
The message just says that the the direntry was skipped because 
jffs2_readdir() was called with f_pos = 3, probably someone explicitly 
wanted to read directory from offset = 3 (for example by means of 
calling seek(fd, 3 SEEK_SET) to the parent directory). Try to sett the 
position to zero.

-- 
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "Skipping dirent" message
  2005-11-08 14:38 ` Artem B. Bityutskiy
@ 2005-11-08 15:28   ` Edgar Grimberg
  0 siblings, 0 replies; 3+ messages in thread
From: Edgar Grimberg @ 2005-11-08 15:28 UTC (permalink / raw)
  To: Artem B. Bityutskiy; +Cc: linux-mtd

Artem B. Bityutskiy wrote:

> Edgar Grimberg wrote:
>
>> Hi,
>>
>> I have eCos and JFFS, and I get the following message from JFFS debug 
>> output:
>>
>> <7>Skipping dirent: "2007-01-08 08-27", ino #10, type 8, because 
>> curofs 2 < offset 3
>
> Don't enable debug output if you don't want to see this message :-)

No can do. I am testing the application and I like to see the engine 
running. :-)

>
>> I am not sure what it means, but the fact is that I have the 
>> "2007-01-08 08-27" directory and I want to opendir and readdir it.
>
> The message just says that the the direntry was skipped because 
> jffs2_readdir() was called with f_pos = 3, probably someone explicitly 
> wanted to read directory from offset = 3 (for example by means of 
> calling seek(fd, 3 SEEK_SET) to the parent directory). Try to sett the 
> position to zero.

I have to see who is the guilty one. Thanks for the response.

Best regards,
Edgar

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-11-08 15:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08 13:08 "Skipping dirent" message Edgar Grimberg
2005-11-08 14:38 ` Artem B. Bityutskiy
2005-11-08 15:28   ` Edgar Grimberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox