Re: Another attempt at S6 init

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Tue, 21 Apr 2015 18:29:06 +0200

On 21/04/2015 16:34, TheOldFellow wrote:
> I have built a fresh LFS, it is on a LVM2 partition, so I need an
> Initramfs, and this enters the Stage 1 script with a devtmpfs somewhat
> populated, and /sys and /proc already mounted. My thinking is that these
> mounts are OK, and I don't see any advantage in umounting them, just to
> remake /dev in a tmpfs.

  Indeed, you don't need much, but what you need to do depends on what you
want. Please give us the following details:
  What are you trying to write here:
  A. the /init script of the initramfs ?
  or B. a script that will run after your initramfs has --moved ?

  If A: what do you want it to do ?
  1. keep your initramfs as rootfs ?
  or 2. have it modprobe, mount your LVM2 filesystem, and mount --move
your root filesystem ?

-- 
  Laurent
Received on Tue Apr 21 2015 - 16:29:06 UTC

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