Speedo Goo
2004-Feb-27 06:01 UTC
[Samba] HELP! Content of file on NT server does not change
hi all, i am using linux to "mount -smbfs" a Windows NT share to read a file there. a win32 app (not written by me) on the NT server opens the file for read-write *once* and then *continually* changes the content. i can view the file content changing from another Windows box on the LAN, but, on my linux machine, every time i cat the file, it's still the old content when i mount it. Are there any cache problems here? or, Do i need to put some extra arguments for mount? or ... thanks in advance. Speedo at shenglong dot com dot cn
Craig White
2004-Feb-27 06:27 UTC
[Samba] HELP! Content of file on NT server does not change
On Thu, 2004-02-26 at 22:49, Speedo Goo wrote:> hi all, > > i am using linux to "mount -smbfs" a Windows NT share to read a file > there. a win32 app (not written by me) on the NT server opens the file > for read-write *once* and then *continually* changes the content. i can > view the file content changing from another Windows box on the LAN, but, > on my linux machine, every time i cat the file, it's still the old > content when i mount it. Are there any cache problems here? or, Do i > need to put some extra arguments for mount? or ... >--- obviously - one can only speculate. It would seem to me that the file is still open for writing - thus, all you will ever get is the state of the file when it was first opened for writing and it won't change until the file is closed (and subsequently re-opened I guess). Does Windows machine mounting this share and opening this file handle this differently? Craig
Seemingly Similar Threads
- [PATCH v4 20/37] volt: add coefficients
- [PATCH] volt: use kernel's 64-bit signed division function
- [RESEND 08/15] drm/nouveau/nvkm/subdev/volt/gk20a: Demote kerneldoc abuses
- [PATCH 04/20] drm/nouveau/nvkm/subdev/volt/gk20a: Demote kerneldoc abuses
- [RESEND PATCH nouveau 3/3] volt: add support for GK20A