From: Demi Marie Obenour <demiobenour@gmail.com>
To: Alyssa Ross <hi@alyssa.is>,
Spectrum OS Development <devel@spectrum-os.org>
Subject: Re: [PATCH 3/3] host/rootfs: Avoid redundant mounts of /proc and /sys
Date: Wed, 17 Sep 2025 22:42:51 -0400 [thread overview]
Message-ID: <56b7c265-3296-4116-b53a-9506f531d915@gmail.com> (raw)
In-Reply-To: <87v7lhxqmh.fsf@alyssa.is>
[-- Attachment #1.1.1: Type: text/plain, Size: 1192 bytes --]
On 9/17/25 07:31, Alyssa Ross wrote:
> Demi Marie Obenour <demiobenour@gmail.com> writes:
>
>> The initramfs already mounted both of them.
>>
>> Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
>> ---
>> It's true that this does increase the reliance on an initramfs, but it
>> is also trivial to revert if Spectrum OS ever stops using one. Linux
>> supports creating dm-verity devices via dm-mod.create= and (if needed)
>> dm-mod.waitfor=, so eliminating an initramfs might be possible but is a
>> separate project.
>
> I'd still prefer we don't rely on initramfs behaviour any more than we
> need to — it just makes things more brittle and difficult to understand.
Does the mount we are using blindly mount a second instance
of procfs and sysfs? If so, I'd rather reuse the initramfs
versions. Otherwise, keeping things as-is is fine.
> IIRC I tried using those kernel parameters before, but they weren't
> workable for what we needed. I don't remember the details.
I suspect they are meant for embedded systems with known hardware.
Ideally partition table parsing would be in userspace anyway.
--
Sincerely,
Demi Marie Obenour (she/her/hers)
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2025-09-18 2:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 0:18 [PATCH 0/3] Minor improvements to the Spectrum OS boot process Demi Marie Obenour
2025-09-15 0:18 ` [PATCH 1/3] host/initramfs: Use util-linux switch_root Demi Marie Obenour
2025-09-17 11:44 ` Alyssa Ross
2025-09-18 2:39 ` Demi Marie Obenour
2025-09-19 9:12 ` Alyssa Ross
2025-09-18 19:41 ` Demi Marie Obenour
2025-09-15 0:18 ` [PATCH 2/3] Add /dev/fd and /dev/std* Demi Marie Obenour
2025-09-17 11:29 ` Alyssa Ross
2025-09-15 0:19 ` [PATCH 3/3] host/rootfs: Avoid redundant mounts of /proc and /sys Demi Marie Obenour
2025-09-17 11:31 ` Alyssa Ross
2025-09-18 2:42 ` Demi Marie Obenour [this message]
2025-09-19 9:16 ` Alyssa Ross
2025-09-18 19:45 ` [PATCH v2] Add /dev/fd and /dev/std* Demi Marie Obenour
2025-09-19 9:29 ` Alyssa Ross
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=56b7c265-3296-4116-b53a-9506f531d915@gmail.com \
--to=demiobenour@gmail.com \
--cc=devel@spectrum-os.org \
--cc=hi@alyssa.is \
/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.
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/crosvm
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/nixpkgs
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
https://spectrum-os.org/git/www
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).