From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: Khem Raj <raj.khem@gmail.com>,
Quentin Schulz <quentin.schulz@streamunlimited.com>,
YP docs mailing list <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH] ref-manual: add DEBUGFS-related variables to glossary
Date: Fri, 28 May 2021 17:25:36 -0400 (EDT) [thread overview]
Message-ID: <ab5517ca-5bfe-4c19-849d-1a711ac76d2@crashcourse.ca> (raw)
In-Reply-To: <ced2b76e-5284-7489-4c38-d32e2191048a@bootlin.com>
[-- Attachment #1: Type: text/plain, Size: 3020 bytes --]
On Fri, 28 May 2021, Michael Opdenacker wrote:
> Greetings,
>
> On 5/28/21 1:34 AM, Khem Raj wrote:
> >
> >
> > On 5/27/21 3:33 AM, Quentin Schulz wrote:
> >> Hi Richard,
> >>
> >> On Fri, May 21, 2021 at 05:35:21AM -0400, Robert P. J. Day wrote:
> >>>
> >>> Add variable glossary entries for all of:
> >>>
> >>> * IMAGE_GEN_DEBUGFS
> >>> * IMAGE_FSTYPES_DEBUGFS
> >>> * IMAGE_INSTALL_DEBUGFS
> >>>
> >>> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
> >>>
> >>> ---
> >>>
> >>> diff --git a/documentation/ref-manual/variables.rst
> >>> b/documentation/ref-manual/variables.rst
> >>> index 0b61f77cb..1ce43a954 100644
> >>> --- a/documentation/ref-manual/variables.rst
> >>> +++ b/documentation/ref-manual/variables.rst
> >>> @@ -3006,6 +3006,24 @@ system and gives an overview of their
> >>> function and contents.
> >>> or ``_prepend``. You must use the ``+=`` operator to
> >>> add one or
> >>> more options to the ``IMAGE_FSTYPES`` variable.
> >>>
> >>> + :term:`IMAGE_FSTYPES_DEBUGFS`
> >>> + Similar to :term:`IMAGE_FSTYPES`, specifies the formats the
> >>> + OpenEmbedded build system uses during the build when creating
> >>> the
> >>> + debug filesystem, as long as :term:`IMAGE_GEN_DEBUGFS` has been
> >>> + set to '1'.
> >>> +
> >>> + The default value from ``bitbake.conf``::
> >>> +
> >>> + IMAGE_FSTYPES_DEBUGFS ?= "tar.gz"
> >>> +
> >>> + :term:`IMAGE_GEN_DEBUGFS`
> >>> + Set to '1' in order to generate a separate debug fileystem::
> >>> +
> >>> + IMAGE_GEN_DEBUGFS = '1'
> >>> +
> >>> + If set, the debugfs will be generated with all of the filesystem
> >>
> >> Having worked with the kernel before Yocto, for me debugfs is a pseudo
> >> filesystem created and mounted by the kernel. I guess this has nothing
> >> to do with it. Could we elaborate a bit more on what this debug
> >> filesystem is and what's its use? And also put a word that this
> >> shouldn't be confused with debugfs filesystem from the kernel, c.f.
> >> https://www.kernel.org/doc/html/latest/filesystems/debugfs.html.
> >>
> >> Eager to learn what this is for :)
> >
> > yeah its a name collision, perhaps we could have called it DBGFS or
> > somesuch name
>
>
> I got *really confused too* when I checked Robert's patch for the first
> time. The DEBUGFS naming very strongly reminds me of the filesystem in
> the kernel.
>
> Yes, DBGFS would be less confusing. May I file a bug (or a patch) to
> address this in a future release?
>
> Actually, even the use of "FS" is confusing in this project, like when
> you set:
>
> 'IMAGE_FSTYPES_DEBUGFS = "tar.bz2"'
>
> I'd use "IMAGE_TYPES_" instead of "IMAGE_FSTYPES_..." because tar.bz2 is
> not a filesystem, but rather a type of image.
i agree with the concept, but would it be too disruptive a rename?
rday
prev parent reply other threads:[~2021-05-28 21:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-21 9:35 [PATCH] ref-manual: add DEBUGFS-related variables to glossary Robert P. J. Day
2021-05-27 10:33 ` [docs] " Quentin Schulz
2021-05-27 15:58 ` Robert P. J. Day
2021-05-27 16:09 ` Quentin Schulz
2021-05-28 14:33 ` Michael Opdenacker
2021-05-27 23:34 ` Khem Raj
2021-05-28 9:14 ` Michael Opdenacker
2021-05-28 21:25 ` Robert P. J. Day [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=ab5517ca-5bfe-4c19-849d-1a711ac76d2@crashcourse.ca \
--to=rpjday@crashcourse.ca \
--cc=docs@lists.yoctoproject.org \
--cc=michael.opdenacker@bootlin.com \
--cc=quentin.schulz@streamunlimited.com \
--cc=raj.khem@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