Skip to contentSkip to conversation

Latest /proc implementation ?.....

DISCUSSION Shobhit Mathur 2 participants 2 messages Apr 29, 2004

lore
Share & tools
lore
#0 lore raw

Hello,

I am implementing a /proc interface for our HBA which registers as a SCSI HBA with the SCSI-midlayer. Hello,

I am aware of existing /proc/ implementations wherein buffer-size is limited and data upto 4096 bytes only is displayable via the "proc_info" entry-point in the Scsi_Host_Template structure.

I would like to know what is the new methodology of implementing /proc which is supposed to have overcome the buffer-limitation of the earlier /proc handling.

- Kindly let me know

- Thank you

- Shobhit Mathur

__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover

#1 lore raw
Quoted 4 lines · Shobhit Mathur

I am aware of existing /proc/ implementations wherein buffer-size is limited and data upto 4096 bytes only is displayable via the "proc_info" entry-point in the Scsi_Host_Template structure.

I think you mean seq_file, described in http://lwn.net/Articles/22355/

Signature · 2 lines
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO