Skip to contentSkip to conversation

Outdated sysfs.txt document?

DISCUSSION Davidlohr Bueso 2 participants 2 messages Aug 11, 2010 – Aug 12, 2010

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line · Davidlohr Bueso

Hi,

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

Quoted 13 lines

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/

Quoted 8 lines

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