Re: Fwd: Procfs or sysfs

From: Chris Fowler
Date: Tue Oct 07 2008 - 08:51:36 EST


procfs

"G" wrote:
---------- Forwarded message ----------
From: G <balajig81@xxxxxxxxx>
Date: Oct 6, 2008 2:13 PM
Subject: Procfs or sysfs
To: linux-net@xxxxxxxxxxxxxxx


Hi

I am developing a Linux kernel module which contains some tables
(data structures). For debugging purposes, i would like to write the
contents of the data structure to one of the pseudo file systems which
linux maintains. Which one should i go for procfs or sysfs and why ?.
I feel procfs could be a good choice .

Any suggestions ?

Cheers,
Balaji
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html


--
Chris Fowler
OutPost Sentinel, LLC
Support @ SIP/support@xxxxxxxxxxxxx
or 678-804-8193
Email Support @ support@xxxxxxxxxxxxxxxxxxx


--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html