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 28B001357E; Wed, 17 Sep 2025 11:23:47 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 7BFA213568; Wed, 17 Sep 2025 11:23:43 +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 CB81513565 for ; Wed, 17 Sep 2025 11:23:41 +0000 (UTC) Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 7C5131400159; Wed, 17 Sep 2025 07:23:40 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Wed, 17 Sep 2025 07:23:40 -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=1758108220; x=1758194620; bh=UfKEbfJany PEArit5ljuMNy2BUYKD3tfKwFXJycyBMM=; b=E6SIJkar+MvJvDmXGjaCxNuzAC lcSA4h39XjqoIYZLxAbiQJXmyguf1cO81Ir8Erdy+jaJ+K+of+5EZbiE1fPJ3OK5 L2dRXbib0lU4NpG/YVJOcR+46rit8TcusiwV6U2/9LOLVGN+I0ir6CQvl2vm+bZf rpOfp8R6CoxWD/W/gIlh6it/CzcbvEtMKZ0GzkMK4w2LrnkeXd2qqK10qU/LOo+X qMN6y9GMjQ/NoyRSuNMEvho7SNnqk5jdSr5oJmkd2bNJTd5fx783S1ed06G3+fGI zF9lAK0mXXkNO/L0m7BdHAv7Oe/S1uZZQ/kwhnTolq6E2XAIwiPqut9VwK1Q== 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= 1758108220; x=1758194620; bh=UfKEbfJanyPEArit5ljuMNy2BUYKD3tfKwF XJycyBMM=; b=mF3HRCn7NMwSVNPrIDdYCphY0sDYXW56MKV6iHBssJNv72RPi8V C8Is0WCnJacQa+yfSnQeagP/f1EeUrkdFqW2BHUTtEqdNb4mZsIqtIp5E/l6sCcj tFW5uzRvUAZryBq97lbZ4U/UY5Q6puaTwNAzf6cjuHkOe2a7voawuDLOH8UMsBR6 L5MrM/FmubcifdP4q9woS3ouwElBJQpKcGOqapPiTJ4jiWw1O8KFBCsNZ7dtvKkE Iklj7z60EGePljVVggZmKl9CFvna37KvrqwKP2wgDkcrbbfgUIcMR7Nf+ykVUrTs j2S5dxxfWtmCm4+zWLjbr98yqHHDACOSG8w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggdegfeefvdcutefuodetggdotefrod 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:23:39 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id D0FCB1F50CB7; Wed, 17 Sep 2025 13:23:23 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour , Spectrum OS Development Subject: Re: Partition sizing In-Reply-To: <564659c4-28bb-4a31-aa25-5aa4e111c41e@gmail.com> References: <564659c4-28bb-4a31-aa25-5aa4e111c41e@gmail.com> Date: Wed, 17 Sep 2025 13:23:23 +0200 Message-ID: <874it1z5jo.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: PN6PWZOYQMMWDDLWI436EKSO6FY7NQYL X-Message-ID-Hash: PN6PWZOYQMMWDDLWI436EKSO6FY7NQYL 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: > What size should the A and B partitions be? I can=E2=80=99t think of > any reasonable way to size them that is also future-proof. I think we need to just do our best estimate, erring on the side of them being larger, and I don't think we'll even be in a position to estimate that until we've done work on minimizing dependencies etc., but obviously we will need to come up with an answer to this before we start encouraging people to install an image. If we pick too big, will we be able to shrink them later for new installs? Will it be possible for space-constrained users to manually partition with smaller sizes? > Android had the same problem, and they solved it by using > device mapper. Unfortunately, I doubt LVM meets our security > goals, which means a whole new userspace implementation would > be required. That would not be fun, especially since a bug > would require a reinstall to correct. > > Other image-based Linux distros generally don't have this > problem because they use filesystem or ostree snapshots, > rather than separate partitions. Chromium OS has a whole > team of paid developers, so I think they can deal with > constraints a bit better than we can :). > > One horrifying worst-case option is to add a file on the > user data partition, create a loop device based on it, > and then add it to the dm-verity table. I really don't > want to do that if there is any other option, though. > --=20 > Sincerely, > Demi Marie Obenour (she/her/hers) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaMqaKwAKCRBbRZGEIw/w olzTAQDUvuwrwkWqWssX87RD0vlQC01Xo5sKoAWdNvBnaPcSiQEAiqvf1do4fkAc cHdNIAAEVPpsCY7gi3lIkn66seHPDAE= =sdVM -----END PGP SIGNATURE----- --=-=-=--