Documentation: filesystems: better locations for sysfs-pci, sysfs-tagging
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
@@ -34,8 +34,6 @@ algorithms work. quota seq_file sharedsubtree - sysfs-pci - sysfs-tagging automount-support
Documentation/filesystems/sysfs.rst +14 -0
@@ -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
Jonathan Corbet
maintainerQuoted 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.
Signed-off-by John Hubbard <[email protected]>
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
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
Signed-off-by John Hubbard <[email protected]>I see why you want to do this, but I have to wonder if moving them out of
Documentation/filesystemsentirely might not be a better approach.sysfs-pci.rstmight better belong in the admin guide or under PCI/, whilesysfs-tagging.rstcould go under networking/.Make sense?
Absolutely, I'll post a v2 that does it that way.
thanks,
Signature · 2 lines
John Hubbard NVIDIA