Skip to contentSkip to conversation

Documentation: filesystems: better locations for sysfs-pci, sysfs-tagging

PATCH Superseded John Hubbard 2 participants 3 messages Oct 7, 2020 – Oct 8, 2020 Documentation

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: filesystems: better locations for sysfs-pci, sysfs-tagging

sysfs-pci and sysfs-tagging were mis-filed: their locations with Documentation/ implied that they were related to file systems. Actually, each topic is about a very specific *use* of sysfs, and sysfs *happens* to be a (virtual) filesystem, so this is not really the right place.

It's jarring to be reading about filesystems in general and then come across these specific details about PCI, and tagging...and then back to general filesystems again.

Move sysfs-pci and sysfs-tagging to a location under the sysfs topic.

---

Hi,

I'm not sure if the "toctree, maxdepth: 1" is the ideal way to do this, but the output in the browser looks about right to me, anyway.

thanks,
John Hubbard
NVIDIA

 Documentation/filesystems/index.rst |  2 --
 Documentation/filesystems/sysfs.rst | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)
Documentation/filesystems/index.rst +0 -2
index 4c536e66dc4c..98f59a864242 100644
@@ -34,8 +34,6 @@ algorithms work.
    quota
    seq_file
    sharedsubtree
-   sysfs-pci
-   sysfs-tagging
 
    automount-support
 
Documentation/filesystems/sysfs.rst +14 -0
index ab0f7795792b..39da2f5c235f 100644
@@ -416,3 +416,17 @@ ABI between the kernel and user space. As for any ABI, it is important that
 this ABI is stable and properly documented. All new sysfs attributes must be
 documented in Documentation/ABI. See also Documentation/ABI/README for more
 information.
+
+sysfs and PCI
+~~~~~~~~~~~~~
+.. toctree::
+   :maxdepth: 1
+
+   sysfs-pci
+
+sysfs and tagging
+~~~~~~~~~~~~~~~~~
+.. toctree::
+   :maxdepth: 1
+
+   sysfs-tagging
Signature · 1 line
2.28.0
maintainer
#1 lore raw
Quoted 5 lines · On Wed, 7 Oct 2020 16:31:51 -0700 John Hubbard <[email protected]> wrote:

sysfs-pci and sysfs-tagging were mis-filed: their locations with Documentation/ implied that they were related to file systems. Actually, each topic is about a very specific *use* of sysfs, and sysfs *happens* to be a (virtual) filesystem, so this is not really the right place.

Quoted 7 lines

It's jarring to be reading about filesystems in general and then come across these specific details about PCI, and tagging...and then back to general filesystems again.

Move sysfs-pci and sysfs-tagging to a location under the sysfs topic.

I see why you want to do this, but I have to wonder if moving them out of Documentation/filesystems entirely might not be a better approach. sysfs-pci.rst might better belong in the admin guide or under PCI/, while sysfs-tagging.rst could go under networking/.

Make sense?

Thanks,

jon

#2 lore raw
Quoted 14 lines · Jonathan Corbet
Quoted 11 lines · On Wed, 7 Oct 2020 16:31:51 -0700 John Hubbard <[email protected]> wrote:

sysfs-pci and sysfs-tagging were mis-filed: their locations with Documentation/ implied that they were related to file systems. Actually, each topic is about a very specific *use* of sysfs, and sysfs *happens* to be a (virtual) filesystem, so this is not really the right place.

It's jarring to be reading about filesystems in general and then come across these specific details about PCI, and tagging...and then back to general filesystems again.

Move sysfs-pci and sysfs-tagging to a location under the sysfs topic.

Quoted 9 lines
Quoted 1 line

I see why you want to do this, but I have to wonder if moving them out of Documentation/filesystems entirely might not be a better approach. sysfs-pci.rst might better belong in the admin guide or under PCI/, while sysfs-tagging.rst could go under networking/.

Make sense?

Absolutely, I'll post a v2 that does it that way.

thanks,

Signature · 2 lines
John Hubbard
NVIDIA