Hello all,

I have made a driver that use sysfs for some statistics function.
I would like to mount this part of the sysfs to another computer over network. 
I have used openssh and fuse sshfs. 

Writing on sysfs trougth ssh is working very well but reading doesn't work 
nicely. The first read works well, but after when (re-)reading I always read 
the same first value. I think this is because use of file cache.

If I touch a file of sysfs the reading is updated. I have tried to disable file 
cache on sshfs but it's the same.

Does anybody have an idea ? How could I completely disable file caching or how 
could I do same result as touch but from the kernel on sysfs file ?

Thanks in advance for your help

Patrick




--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to