lm sensors sysfs file structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > Btw, is it indended behaviour of sysfs, that after writing to a file, 
> > the size is zero?
> 
> Hm, don't know about that, I haven't seen that before.  If you cat the
> file after writing it, does the file size change?

It's a known problem that I haven't been able to track down. 

The file size is hardwired to PAGE_SIZE when it is created. For some 
reason, it's reset to 0 after it's opened. I haven't had a chance to track 
down why, or how to reset it..


	-pat



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux