David J. Reiter
1998-Dec-15 23:47 UTC
Why does oplocks = False not seem to stop file cacheing? (More Info)
All, Here is the output of smbstatus after I have opened up the file on the PC: /usr/local/samba/bin [184] ./smbstatus Samba version 1.9.18p10 Service uid gid pid machine ---------------------------------------------- dave dave staff 972 syscon2 (137.51.150.63) Tue Dec 15 15:43:27 1998 No locked files Share mode memory usage (bytes): 1048464(99%) free + 56(0%) used + 56(0%) overhead = 1048576(100%) total Now if it says there are no locked files why does the PC cache the information? Thanks for any help at all, David. ---------- Forwarded message ---------- Date: Tue, 15 Dec 1998 15:08:57 -0600 (CST) From: James Thompson <jamest@math.ksu.edu> To: "David J. Reiter" <dave@davidr.sd.logicon.com> Cc: Multiple recipients of list <samba@samba.org> Subject: Re: Why does oplocks = False not seem to stop file cacheing? On Wed, 16 Dec 1998, David J. Reiter wrote:> > [pc] > path = /NEWPC > public = yes > only guest = yes > writable = yes > printable = no > ; I have tried share modes both yes and no, that doesnt seem to > ; change anything. > share modes = no > ; I think setting oplocks False should do the trick but it doesn't > ; seem to help. > oplocks = False > ; So I tried to set veto to veto all files, but again this didn't > ; seem to help any. > veto oplock files = /*.txt/ > >from mine (don't remember what sync does so it might not be needed) [office] sync always = yes oplocks = no ->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-< James Thompson 138 Cardwell Hall Manhattan, Ks 66506 785-532-0561 Kansas State University Department of Mathematics ->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<