patches and low-level development discussion
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Minor improvements to the Spectrum OS boot process
@ 2025-09-15  0:18 Demi Marie Obenour
  2025-09-15  0:18 ` [PATCH 1/3] host/initramfs: Use util-linux switch_root Demi Marie Obenour
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Demi Marie Obenour @ 2025-09-15  0:18 UTC (permalink / raw)
  To: Spectrum OS Development; +Cc: Demi Marie Obenour, Alyssa Ross

These are all very minor changes.  Patch 1 switches from Busybox
switch_root to the util-linux version.  Since util-linux moves /dev,
/sys, and /proc to the root filesystem, three calls to mount go away.
Patch 2 adds /dev/fd, /dev/stdin, /dev/stdout, and /dev/stderr symlinks,
to avoid compatibility problems with Spectrum OS's third-party
dependencies.  Patch 3 avoids mounting /proc and /sys in the main
system, as the initramfs already did this.

Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
---
Demi Marie Obenour (3):
      host/initramfs: Use util-linux switch_root
      Add /dev/fd and /dev/std*
      host/rootfs: Avoid redundant mounts of /proc and /sys

 host/initramfs/default.nix | 3 ++-
 host/initramfs/etc/init    | 4 ----
 host/rootfs/etc/fstab      | 2 --
 host/rootfs/etc/init       | 8 ++++++++
 vm/sys/net/etc/init        | 8 ++++++++
 5 files changed, 18 insertions(+), 7 deletions(-)
---
base-commit: f14abeb3db2c1c47658fa1809f3fde379e41d632
change-id: 20250914-util-linux-switch-root-10034b149e45
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-09-19  9:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).