Re: stat64() calls of files in underlaying directories?

John Ellis <[email protected]> Tue, 12 Jul 2005 13:58:42 -0400
Newsgroups gmane.comp.gnome.apps.gqview.user
Message-ID <[email protected]>
Guus Houtzager wrote:
> 

[thread content about aggressive stat64 calls snipped]

> Thanks for your quick respons and patch. I tried it out and it works,
> somewhat. I applied your patch to the source of the debian 2.0.0
> package, not the cvs version.
> 
> What happens now is that if nothing happens to the underlaying directory
> (/pictures) and I switch between folders, the switch is quick, no
> stat64()'s being executed. But the stat64()'s happen in this situation:
> I'm watching the /pictures/holiday/2004 folder. Then I copy some files
> in a shell with cp from /pictures to /pictures/holiday/2005. When that
> completes, I switch in gqview to /pictures/holiday/2005. Then I see
> stat64() calls on /pictures.

Is the timestamp on "/pictures" changing when you do the cp ? If so that is why
GQview re-reads the folder contents (it needs to keep the folder tree in sync
with what is on disk).

> I think I'm using folder tree view, but I'm not sure, so I'm attaching a
> small screenshot which should clear that up for you. Just to be sure
> I'll also attach my gqviewrc.

That is the folder tree view.

> Thanks!
> 
> PS: direct mail to you doesn't work for me because I'm not on verizon's whitelist :(
> As I understand it, lot's of European ISP's aren't :(

The complaints to verizon about this issue are only increasing. Did you try
[email protected]? I have been unable to determine if mail forwarded by the
sourceforge mail service is also rejected (or worse silently dropped).

Greetings,
John

-- 
John Ellis <[email protected]>

http://gqview.sourceforge.net <GQview> | http://hideseek.sourceforge.net
http://gqmpeg.sourceforge.net <GQmpeg> |     <Preferences Hide and Seek>


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar