2010-08-11 22:05:28

by Davidlohr Bueso

[permalink] [raw]
Subject: Outdated sysfs.txt document?

Hi,

I have been going through Documentation/filesystems/sysfs.txt, and
noticed what I believe to be either outdated or incomplete:

The "Top Level Directory Layout" mentions
block/
bus/
class/
dev/
devices/
firmware/
net/
fs/

We seem to be missing kernel, power, hypervisor, module, etc.

dave@cowboy:~$ ls /sys/
block class devices fs kernel power
bus dev firmware hypervisor module

I am preparing a patch to complete this, but could someone confirm first
that this is actually what is meant.

Thanks,
Davidlohr


2010-08-12 00:24:04

by Greg KH

[permalink] [raw]
Subject: Re: Outdated sysfs.txt document?

On Wed, Aug 11, 2010 at 06:05:21PM -0400, Davidlohr Bueso wrote:
> Hi,

Any reason you didn't send this to the current sysfs maintainer?

> I have been going through Documentation/filesystems/sysfs.txt, and
> noticed what I believe to be either outdated or incomplete:
>
> The "Top Level Directory Layout" mentions
> block/
> bus/
> class/
> dev/
> devices/
> firmware/
> net/
> fs/
>
> We seem to be missing kernel, power, hypervisor, module, etc.
>
> dave@cowboy:~$ ls /sys/
> block class devices fs kernel power
> bus dev firmware hypervisor module
>
> I am preparing a patch to complete this, but could someone confirm first
> that this is actually what is meant.

It would be nice to have it match up to reality, Documentation usually
lags.

thanks,

greg k-h