musl #2 (erratum corrige)

From: Roy Lanek <roy.lanek_at_gmail.com>
Date: Sun, 13 Oct 2013 21:18:52 +0700

musl... Thank you for having spotted it for *us* (me at the
least). I had mksh (MirBSD Korn Shell) statically linked against
dietlibc, but now it's done against musl instead.

Next: in my initramfs/init I merely call:

** a couple of mandatory (stock) mounts such

mount -n -t proc proc /proc

which I could (would like to) replace with (static) s6-mount's

** a

mount -n -t ext4 -o ro /dev/sd-something /newroot

dito

** and (now comes the busillis)

exec /sbin/switch_root /newroot /dir-of-new/init

There is no s6-switch_root equivalent => question: will a
s6-switch_root be implemented? I wonder how the trade off in
space, speed and efficiency by using (static) s6-mount and
s6-switch_root would be shaped (for example, I would then have a
perfectly empty /../initramfs/lib, nor would I need to do any
ldd).

Cheers,

/Roy
Received on Sun Oct 13 2013 - 14:18:52 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC