Re: Fwd: Procfs or sysfs

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

 



On Tue, 7 Oct 2008 18:07:02 +0530
"\"G\"" <balajig81@xxxxxxxxx> 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 .
> 

Use debugfs, because then you are saying: "this is for my debugging,
please don't build your application around this crappy output format"
--
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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux