Re: /proc vs. /sys

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

 



On Tue, Jan 20, 2004 at 07:29:00PM +0100, Frank.A.Uepping@t-online.de wrote:
> 
> Assume we have a kernel module which provides a virtual (i.e. there is no real 
> hardware involved) service. Informations about the consumers of the service 
> should be made public via sysfs (former procfs). 
> Where is the right place in the sysfs directory hierarchy for my informations?

What exactly are we talking about here?  Please give specifics.

> Should I create a new subsystem and place it in the root of sysfs, -- there is 
> no logical parent to the virtual service?

What type of service are you talking about?  What kind of files do you
need to create?  Where does the info in the files come from?  Is there
current files in /proc for this service?

I need more details please.

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