Re: Re: creating procfs entries in netfilter context

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

 



On Sat, Mar 25, 2006 at 12:50:04PM +0700, Mulyadi Santosa wrote:
> Helo...
> 
> > things. I think that you're doing something really weird; proc
> > entries (which are deprecated btw!) are typically only created during
> > initialization not during normal runtime of a module....
> 
> Deprecated? Are you sure? So everything must be done using sysfs/debugfs 
> now?

It all depends on what you are wanting to do.  Is what you are wanting
to do have to do with processes?  If so, then procfs is fine for that.
If not, then perhaps sysfs is the proper place for it.

If you want free-form data in whatever format you want it to be in
today, then debugfs is the place for you.

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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