Re: length of sysfs files ?

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

 



On Sat, May 20, 2006 at 01:31:59PM -0600, Jim Cromie wrote:
> 
> I just noticed an apparent randomness to the reported size of these files.
> 
> what does this mean ?

Nothing, you can't trust the length of sysfs files, as they are not set.
Only exception is some binary sysfs files, those values should be
correct.

Is there a reason you are concerned?  Does reading from these files not
work properly for you?

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux