From: Björn H. <bjo...@it...> - 2011-06-24 06:19:28
|
> -----Ursprüngliche Nachricht----- > Von: gos...@we... [mailto:gos...@we...] > Björn Haake <bjo...@it...> writes: So, asked a little more direct: > > > Hello, > > > > I was wondering if somebody can enlighten me... > > > > I have a constellation where I am doing an ls, triggering a readdir. I > > was under the assumption that when I pass back the filler struct, that > > a getattr would be called on each item in the list. But now I am > > seeing just a getattr /* being processed. Is there something I need to > > do in addition, so that the whole filler struct gets processed? This > > only happens on RHEL 6 with Samba 3.5 (RHEL5 with Samba 3.0 and NFS > > work fine). > > Could it be that you have an empty directory and are doing "ls mountpoint/*"? > In that case bash will call ls with * not expanded and ls will stat "/*" and that is > what you see. Based on the fact that the directory is not empty (see other email with log output) and... > > > If someone could tell me where I need to pay attention in order to > > receive the getattr on all the entries of readdir I'd be grateful > > Nothing there you need to pay attention too. That works automatically. .... it is supposed to work automatically (and works fine on RHEL 5) - could this be a bug in FUSE or in Samba? Thanks! bjorn |