Jukebox VFS module almost finished :-)

John Malmberg wb8tyw at qsl.net
Sat Mar 23 07:45:02 GMT 2002


Andreas Lund wrote:
> This module is coming along very well, the module uses mysql for caching
> directory contents so clients can browse the media without the changer having
> to work overtime. And it's sooo close to working!
> 
> But... I get hundreds, nay thousands of requests for "desktop.ini". Now, if I
> just return a "fake" stat buffer saying the file is here, everything works,
> but very slowly since the client will then always follow up by trying to open
> the non-existing file a few times before moving on.
> 
> However if I tell the truth and have jukebox_stat() return -1 when desktop.ini
> doesn't exist, then the client refuses to show any files at all!

Are you sure that you are setting errno correctly?

You could be passing back that the jukebox_stat() failed because of a 
non-existant directory.

-John
wb8tyw at qsl.network
Personal Opinion Only






More information about the samba-technical mailing list