From: Demi Marie Obenour <demiobenour@gmail.com>
To: Spectrum OS Development <devel@spectrum-os.org>
Subject: Partition sizing
Date: Sun, 14 Sep 2025 20:47:59 -0400 [thread overview]
Message-ID: <564659c4-28bb-4a31-aa25-5aa4e111c41e@gmail.com> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 968 bytes --]
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.
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 #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 reply other threads:[~2025-09-15 0:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-15 0:47 Demi Marie Obenour [this message]
2025-09-17 11:23 ` Partition sizing Alyssa Ross
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=564659c4-28bb-4a31-aa25-5aa4e111c41e@gmail.com \
--to=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).