lkml.org 
[lkml]   [2008]   [Feb]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 13 Feb 2008 00:25:37 -0800
FromGreg KH <>
SubjectRe: Documentation about sysfs/procfs entries
On Wed, Feb 13, 2008 at 03:40:32PM +0800, Peter Teoh wrote:
> some questions:
> 
> a.   the list of parameters can presumably be extracted from existing
> file via "procname" search.....not sure if it is correct (as per
> attached, complete?)

I don't see anything attached :(

> b.   what is the diff between /proc and /sys?   in
> Documentation/filesystems/proc.txt....it is mentioned that /proc
> information will be published into a book...where is it?   I can never
> understand this.

/proc is for process information originally, it grew to take lots of
other different things over the years.

/sys is a tree representation of the devices in the system, as well as a
location for a lot of other kernel specific information.  The rules for
/sys are much more strict (one value per file, if the file isn't there,
the userspace program must be able to handle it, etc.)

> c.   in Doc/sysctl are all the explanation for /proc/sys/* .... as a
> start i think we shall contribute fixing here....but according to your
> email, we should fix Doc/ABI...so I supposed some migration is needed?

Yes, migration of this information to the ABI/ directory would be very
good to have.

> d.   In networking/ip-sysctl.txt a lot of the explanation for the
> attached procname's parameters are explained, may be we can relocate
> it to ABI?

Sounds good to me, but be sure to verify this with the networking
developers as well.

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-02-13 09:23    [from the cache]
©2003-2008