Hi, Also sysfs is tied inherently to the kobject infrastructure. So I suggest that you will take a look also in http://elixir.free-electrons.com/linux/latest/source/Documentation/filesyste... Chapter 14 of Linux Device Drivers, 3rd edition, was written in 2005, so you should take in account that things change a bit since then in terms of implementation details. The principles are for a large extent quite the same, though. Regards, Rami Rosen On 17 May 2017 at 10:21, Alexander Kapshuk <alexander.kapshuk@gmail.com> wrote:
---------- Forwarded message ---------- From: Alexander Kapshuk <alexander.kapshuk@gmail.com> Date: Wed, May 17, 2017 at 10:20 AM Subject: Re: Importance of kobject To: Madhu K <madhu.sk89@gmail.com>
On Wed, May 17, 2017 at 10:08 AM, Madhu K <madhu.sk89@gmail.com> wrote:
Hi All,
I am kernel newbie, I want to know the importance of kobject, can anybody explain the importance of kobject with an example.
Thanks in advance. Madhu
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Kobjects play an essential role in the Device Model. The documentation below may be a good starting point in learning about kobjects:
https://lwn.net/images/pdf/LDD3/ch14.pdf https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/Doc...
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies