Here are some notes about documenting sysfs.conf

* sysfs(2) is about the syscall and isn't helpful in this context
* sysfs(5) (in manpages package) explains a little about sysfs, but not how to interact with it. * The kernel documentation https://www.kernel.org/doc/Documentation/filesystems/sysfs.txt is targetted at people writing sysfs interfaces and mostly not useful, but mentions that interfaces need to be documented in ABI https://www.kernel.org/doc/Documentation/ABI/stable/ and that might be useful to mention as a place where users can read about how to interact with various parts. * The default delivered sysfs.conf file has some comments at the top about general syntax and examples.
* should document /etc/sysfs.d/ and how to use it (load order, etc)
* should maybe explain the difference between sysfs and sysctl

So I think a sysfs.conf manpage could be pretty simple, mostly the comments already in the default file and some pointers to the other places.

--
Matt Taggart
m...@lackof.org

Reply via email to