linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: Vishnu Sanal T <t.v.s10123@gmail.com>, linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Vishnu Sanal T <t.v.s10123@gmail.com>
Subject: Re: [PATCH] docs: update sysfs docs
Date: Mon, 14 Oct 2024 13:28:40 -0600	[thread overview]
Message-ID: <875xpuscuv.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20241004141303.46592-2-t.v.s10123@gmail.com>

Vishnu Sanal T <t.v.s10123@gmail.com> writes:

> update sysfs docs with documentation for all the subdirectories
>
> Signed-off-by: Vishnu Sanal T <t.v.s10123@gmail.com>
> ---
>  Documentation/filesystems/sysfs.rst | 57 ++++++++++++++++++++---------
>  1 file changed, 39 insertions(+), 18 deletions(-)
>
> diff --git a/Documentation/filesystems/sysfs.rst b/Documentation/filesystems/sysfs.rst
> index c32993bc83c7..b455ab32aacc 100644
> --- a/Documentation/filesystems/sysfs.rst
> +++ b/Documentation/filesystems/sysfs.rst
> @@ -302,43 +302,64 @@ The top level sysfs directory looks like::
>      net/
>      power/
>  
> -devices/ contains a filesystem representation of the device tree. It maps
> -directly to the internal kernel device tree, which is a hierarchy of
> -struct device.
> +block/ contains subdirectories for each block device that has been
> +discovered in the system. In each block device's directory are attributes
> +that describe many things, including the size of the device and the
> +dev_t number that it maps to.
>  
>  bus/ contains flat directory layout of the various bus types in the
>  kernel. Each bus's directory contains two subdirectories::
>  
> -	devices/
> -	drivers/
> +	bus/devices/
> +	bus/drivers/

This is overtly wrong, that is not how the directories are named.  The
original may not have been as clear as it could be, but it was at least
correct.

Please have another look.

jon

      reply	other threads:[~2024-10-14 19:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-04 14:13 [PATCH] docs: update sysfs docs Vishnu Sanal T
2024-10-14 19:28 ` Jonathan Corbet [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875xpuscuv.fsf@trenco.lwn.net \
    --to=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=t.v.s10123@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).