From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 51E6013744; Wed, 17 Sep 2025 11:31:24 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 2853313725; Wed, 17 Sep 2025 11:31:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fhigh-a6-smtp.messagingengine.com (fhigh-a6-smtp.messagingengine.com [103.168.172.157]) by atuin.qyliss.net (Postfix) with ESMTPS id 540A913723 for ; Wed, 17 Sep 2025 11:31:20 +0000 (UTC) Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id 8EEBE140006E; Wed, 17 Sep 2025 07:31:19 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Wed, 17 Sep 2025 07:31:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1758108679; x=1758195079; bh=Qrc9HemAbv oVc8GrE+0LlzautWDl0yuVdjyeYeU5RzY=; b=l1hDpHYCbZxnCOFMKcmfkViT1P ehMcsmHpl9CaSBc/sX8DOTRjTn+EUdWjbWqRsgvQFKnYycH0wRLZ/+mRpaU96e2Y fUz5+SP+aetDfZWia2FpiXL21Mn3/MreXbXFwiM88w3hhGYr25B7D7NnqR3jOtfw tSAVB/8xPE9fsWi30mjbD61lwYm9e1etTrE6BU4ZFQB1ldjjJjRBh/SK4oOKkJj9 20LrCGtcXDKI5BVo9vLvvAW4KBUX3FW5ebp9tyJJCEH4JBso2x0rCWd0usRULfvd QfR3xTBHp5Xq55FfDHQPMWtrPYYr0D0tv0jfKBnz/fpOKyGqZnIcncEaSvLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1758108679; x=1758195079; bh=Qrc9HemAbvoVc8GrE+0LlzautWDl0yuVdjy eYeU5RzY=; b=SF4wmkYdnZdcrgihgAtBensPKOaHZ55uMYfaX4IVF9qTHAmqHWN cj2W4RJgyXZbNQWEvTvVc+gpgCFR7KUi8e181yaA2gUQlOwqEbZhum+c3PH4czOj SliLk6YqfPZLzAUdHejlsyuVL4b003P/eiKFtgeZz56inYRZtmLtS2ZI1zUOJPrd GkFugrFTOeEk8uZcmVA3RZvtHpg/+mYmYWuX+1HlPTsk2JrQ75NU2m90HTxXOA+Z MDxOKTaf+sGy9bihiHa+bmkfi1v2vWDvQDtR2lPg1z2Xfki236RyRgKWybcYuMC1 oK3a8sPabjfpmFLQFU0ZvwlW5T1Qdq4PnyA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdegfeeffecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvffujghffffkgggtsehgtderredttdejnecuhfhrohhmpeetlhihshhsrgcutfho shhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeffudduffeuff egheeigeejtdekhfduheehfeduheelffettdekiedtgeefgfelheenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhihesrghlhihsshgrrdhish dpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuggv mhhiohgsvghnohhurhesghhmrghilhdrtghomhdprhgtphhtthhopeguvghvvghlsehsph gvtghtrhhumhdqohhsrdhorhhg X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Sep 2025 07:31:19 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id DD32C1F50EA9; Wed, 17 Sep 2025 13:31:02 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour , Spectrum OS Development Subject: Re: [PATCH 3/3] host/rootfs: Avoid redundant mounts of /proc and /sys In-Reply-To: <20250914-util-linux-switch-root-v1-3-9cf9349cbca3@gmail.com> References: <20250914-util-linux-switch-root-v1-0-9cf9349cbca3@gmail.com> <20250914-util-linux-switch-root-v1-3-9cf9349cbca3@gmail.com> Date: Wed, 17 Sep 2025 13:31:02 +0200 Message-ID: <87v7lhxqmh.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: 56GINP77IRTZIL3NGZ2D5ZMGR4MLTU3D X-Message-ID-Hash: 56GINP77IRTZIL3NGZ2D5ZMGR4MLTU3D X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Demi Marie Obenour writes: > The initramfs already mounted both of them. > > Signed-off-by: Demi Marie Obenour > --- > 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=3D and (if needed) > dm-mod.waitfor=3D, 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 =E2=80=94 it just makes things more brittle and difficult to unders= tand. IIRC I tried using those kernel parameters before, but they weren't workable for what we needed. I don't remember the details. > --- > host/rootfs/etc/fstab | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/host/rootfs/etc/fstab b/host/rootfs/etc/fstab > index 6a82ecc85090a37b13603b29f74ca6e554a28c33..4d303d277409279976bc10296= 9d902466bc39c47 100644 > --- a/host/rootfs/etc/fstab > +++ b/host/rootfs/etc/fstab > @@ -1,6 +1,4 @@ > # SPDX-License-Identifier: CC0-1.0 > # SPDX-FileCopyrightText: 2020-2021 Alyssa Ross > -proc /proc proc defaults 0 0 > devpts /dev/pts devpts defaults,gid=3D4,mode=3D620 0 0 > tmpfs /dev/shm tmpfs defaults 0 0 > -sysfs /sys sysfs defaults 0 0 > > --=20 > 2.51.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaMqb9gAKCRBbRZGEIw/w ovzVAP98shZJoVaLQw5eQDzwcUfGnk6Y1VzH2G1tkuYMecbvMwEA2EET/+ThNIrb W1m0Sr2CPGmBL3nSaydF7sZ98J0Y4wc= =7gGJ -----END PGP SIGNATURE----- --=-=-=--