sys fs interface

Rami Rosen roszenrami at gmail.com
Sun Dec 30 21:16:56 EST 2012


Hi,
This is done via:
kobject_create_and_add(), which
eventually calls sysfs_create_file(), or sysfs_create_group().

Look in Documentation/kobject.txt

regards,
Rami Rosen
http://ramirose.wix.com/ramirosen




On Fri, Dec 28, 2012 at 1:22 PM, Rahul Bedarkar <rpal143 at gmail.com> wrote:
> Hi,
>
> When driver provides sys fs interface for user space programs, how we
> specify name of file to be created ?
>
>
> Thanks,
> Rahul B.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



More information about the Kernelnewbies mailing list