patches and low-level development discussion
 help / color / mirror / code / Atom feed
From: Alyssa Ross <hi@alyssa.is>
To: Demi Marie Obenour <demiobenour@gmail.com>,
	Spectrum OS Development <devel@spectrum-os.org>
Subject: Re: Partition sizing
Date: Wed, 17 Sep 2025 13:23:23 +0200	[thread overview]
Message-ID: <874it1z5jo.fsf@alyssa.is> (raw)
In-Reply-To: <564659c4-28bb-4a31-aa25-5aa4e111c41e@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]

Demi Marie Obenour <demiobenour@gmail.com> writes:

> What size should the A and B partitions be?  I can’t 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.
> -- 
> Sincerely,
> Demi Marie Obenour (she/her/hers)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

  reply	other threads:[~2025-09-17 11:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-15  0:47 Partition sizing Demi Marie Obenour
2025-09-17 11:23 ` Alyssa Ross [this message]
2025-09-18  2:30   ` Demi Marie Obenour

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=874it1z5jo.fsf@alyssa.is \
    --to=hi@alyssa.is \
    --cc=demiobenour@gmail.com \
    --cc=devel@spectrum-os.org \
    /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).