SMBfsys & Bad Cacheing

Hi All,

we have been using SMBfsys from QNX to access WinNT filesystems. We have
noticed that if we do a compile/link on an SMB mounted drive and then
immediately try to execute the program, sometimes we will be executing the
old version of the program. Sometimes the link will fail with an invalid
object file error. If we wait as little as 1 second all of the data seems
to get flushed and we can now read it back correctly.

Does anyone know of a fix for this?

Does anyone even know if it is the QNX side or the NT side that is screwing
up?

I’m using SMBfsys extensively and have never notice this behavior.

Maybe it’s something on the NT side.

Make sure you have the latest SMBfsys.

“Bill at Sierra Design” <BC@SierraDesign.com> wrote in message
news:8mc4jp$s7a$1@inn.qnx.com

Hi All,

we have been using SMBfsys from QNX to access WinNT filesystems. We have
noticed that if we do a compile/link on an SMB mounted drive and then
immediately try to execute the program, sometimes we will be executing the
old version of the program. Sometimes the link will fail with an invalid
object file error. If we wait as little as 1 second all of the data seems
to get flushed and we can now read it back correctly.

Does anyone know of a fix for this?

Does anyone even know if it is the QNX side or the NT side that is
screwing
up?

I have noticed that it is important that the client and the server has the
same time. I used the (freeware?) program rdate to sync the QNX machine to
an ntp-source. PCs, if they log on to a fileserver often get their time from
that one, so this needs to be synced too.

Hi Terje,

Our NT server is off by about 11 minutes. I keep by QNX clock correct but I
don’t get access to the NT server. The MIS winnies have controll over that.

But the cacheing issues only involves about two seconds.

If I do a compile of X.c to X.o and then try to link X.o to X AND X.o
had alread existed (an old version) all is OK. If I wait about two seconds
after the compile and then try to link, all is OK. But if X.o did not
previously exist and I try to compile and link (is in from a makefile) The
linker reports “Invalid Object Module”.

Terje Trane <trane@systek.no> wrote in message
news:8pnpqq$1qa$1@inn.qnx.com

I have noticed that it is important that the client and the server has the
same time. I used the (freeware?) program rdate to sync the QNX machine to
an ntp-source. PCs, if they log on to a fileserver often get their time
from
that one, so this needs to be synced too.