Re: Doubt on show() function of sysfs attribute

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

 



On Tue, 26 Jan 2021 23:07:24 +0530, Mohana Datta Yelugoti said:
> Hello everyone,
>
> I am going through Documentation/filesystems/sysfs.rst.
>
> It says that sysfs allocates a buffer of size PAGE_SIZE and
> passes it to the show/store functions of the attribute. On
> read(), the show() method should fill the entire buffer[0].

'git blame' indicates that except for a commit that converted
it to RST format, that file is essentially the same as it was when
Linus originally imported the kernel tree into git.

So it's describing the situation as it was in 2005, and probably
way out of date.

Attachment: pgprQe1zBAL_A.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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