>
> What I was trying to say was that perhaps smbclient will show you changes
> immediately while smbfs will not because it caches too.
>
oh..i'll try mounting with smbclient and see what happens.
> > Procedure: mounting NT shareable directory via smbmount. Checking filesize
> > of security.log file every 3 minutes via program.
> > Problem : Filesize does not update in real-time when checked. Not with an
> > ls, not with stat()
>
> You check every 3 minutes. How often does anything change? (on the NT side
> and on the smbfs side). 3 minutes is of course a lot more than the 5
> seconds I found mentioned in the sources ...
>
on the NT side, the log file is changed every second or every other
second.
on the smbfs side it varies..sometimes it'll update the filesize everytime
I ls, sometimes it won't update it for 10 minutes or more..no connection
break, I/O error or anything during that time period either.
-Cygnus
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
Anthony J. Biacco Network Administrator/Engineer
admin@intergrafix.net Intergrafix Internet Services
"Dream as if you'll live forever, live as if you'll die today"
http://cygnus.ncohafmuta.com http://www.intergrafix.net
.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/