From: Emily Shepherd <emily@redcoat.dev>
To: Rob Landley <rob@landley.net>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
initramfs@vger.kernel.org,
"Thomas Strömberg" <t+github@chainguard.dev>,
"Anders Björklund" <anders.f.bjorklund@gmail.com>,
"Giuseppe Scrivano" <giuseppe@scrivano.org>,
"Al Viro" <viro@zeniv.linux.org.uk>,
"Christoph Hellwig" <hch@lst.de>, "Jens Axboe" <axboe@kernel.dk>
Subject: Re: [PATCH v2] initramfs: Support unpacking directly to tmpfs
Date: Sat, 2 Dec 2023 23:27:38 +0000 [thread overview]
Message-ID: <27lpybxaozczmjd6hrfkkch7ttjioenqngynoyqji6c3pt6ati@rfabur7kygwc> (raw)
In-Reply-To: <ec6d7c0f-8408-ba51-f2ed-2bd068a6f673@landley.net>
On Fri, Dec 01, 2023 at 11:40:37PM -0600, Rob Landley wrote:
>No, "the perfect is the enemy of the good" applies. Blocking a small
>fix to
>force a large fix isn't always reasonable.
>
>I just dislike adding special cases. Right now when you root=/dev/sda1 you
>specify what to overmount on rootfs at runtime, so if you're going to overmount
>something _else_ that seems the layer to do it at. A CONFIG_BLAH=y option to do
>a similar thing (changing the semantics from a different area entirely) seems
>painful, especially as a workaround for a self-inflicted issue in a userspace
>package.
Understood.
>At least until the network admin running kernel.org gets his way and closes down
>the open mailing list, replaced by one that only approved people are allowed to
>join:
>
>https://social.kernel.org/objects/9b3adb80-4198-4c86-abbd-aa3c58700975
Haha wow, I have to say: reading the LKML discussion about this is so
surreal. Lots of people are suggesting features that have been standard
in all of the git hosting platforms for years like they are new. I
really don't understand the reluctance to move to one of the existing
platforms. Most support outputting plaintext patches, or raising /
responding to patches via email for people who like that flow. Seems
like a win win, as it would come with all the extra patch / pull request
management for free.
>I'm weird enough to still _try_. At least in the parts common to the
>systems I'm
>building on a dozen different architectures. (_Everybody_ has to go through
>early boot.)
Fair point :)
>I'm currently trying to get vanilla u-boot, linux, and devuan
>debootstrap to run
>on the orange pi 3b.
Nice. My current project started life on the raspberry pi :) I wanted to
run containers, but quickly became frustrated at all the extra stuff
that Raspberry Pi OS was running, which was slowing everything down for
no reason, so I went on a crusade to make a much more minimal system -
it looks like there were actually some similarities with mkroot! Great
minds think alike, I suppose :) Anyway, I have now moved over to support
amd64 too as I realised what I'd built could boot to kubernetes faster
than AWS' tailored images can, so looking at options there.
>(Unlike raspberry pi which is still
>binary blobs as far as the bootloader can see and a forked kernel.)
Gah, the weird binary blobs really, really bug me on the RPI. Not least
because the whole point of the Pis was meant to be a learning /
exploration tool, so having a "just trust me bro" blackbox of a
bootloader is so absurd.
>The change under discussion here is a case where explaining the design context
>behind this distinction, let alone the decision to change it, is multiple
>minutes for a domain expert to unpack the backstory for you, and hours if not
>days to pick apart yourself. It changes what the design IS. I personally already
>_know_ (some of?) the backstory, but I don't expect other people to, and really
>don't look forward to having to document it.
It looks like this patch isn't going to go anywhere - I'll keep it in my
own tree for the moment, as it is useful for me, but may play around
with the CLONE_NEWROOTFS idea if I have time - certainly would be
interesting to see how easy it would be create proper independent mount
namespaces (cue: something random falling over!).
--
Emily Shepherd
Red Coat Development Limited
next prev parent reply other threads:[~2023-12-02 23:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 9:00 [PATCH v2] initramfs: Support unpacking directly to tmpfs Emily Shepherd
2023-11-29 16:38 ` Rob Landley
2023-11-29 17:48 ` Emily Shepherd
2023-11-29 20:53 ` Rob Landley
2023-11-30 3:31 ` Emily Shepherd
2023-12-01 22:02 ` Rob Landley
2023-12-01 23:37 ` Emily Shepherd
2023-12-02 5:40 ` Rob Landley
2023-12-02 23:27 ` Emily Shepherd [this message]
2023-12-19 19:22 Askar Safin
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=27lpybxaozczmjd6hrfkkch7ttjioenqngynoyqji6c3pt6ati@rfabur7kygwc \
--to=emily@redcoat.dev \
--cc=akpm@linux-foundation.org \
--cc=anders.f.bjorklund@gmail.com \
--cc=axboe@kernel.dk \
--cc=giuseppe@scrivano.org \
--cc=hch@lst.de \
--cc=initramfs@vger.kernel.org \
--cc=rob@landley.net \
--cc=t+github@chainguard.dev \
--cc=viro@zeniv.linux.org.uk \
/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).