Re: /proc entries spanning multiple pages

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

 



On Mon, Sep 17, 2001 at 07:37:13PM +0530, Sandip Bhattacharya wrote:
> I have to construct a procfs entry spanning multiple pages. Currently, I am
> just honouring the "count" parameter in the proc_read functions. However, I am
> not able to find concrete examples which show how to create these entries.
> 
> Somewhere I had found out that maybe the *start pointer can be used to this effect. 
> The procfs guide IIRC doesn't cover this yet(Mr. Mouw? ;)

That's in the next revision which will be released when it's ready.

> Any pointers, folks? I am grovelling through lxr till then ... :(

Have a look at the code for /proc/ksyms in fs/proc/proc_misc.c .


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[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