Re: Another attempt at S6 init

2015-04-21 Thread Avery Payne
On 4/21/2015 7:34 AM, TheOldFellow wrote: So I should need much less than Laurent has in his example. (did I mention the ancient grey cells?) I'm no expert at execline, so I'm taking wild guesses here based on the little bits that I know from reading about it. #close stdout and stderr

Re: Another attempt at S6 init

2015-04-21 Thread Laurent Bercot
On 21/04/2015 23:19, TheOldFellow wrote: I am trying to write the init-stage1 script, so (B). The initrd has completed by the time it runs, since root is a lvm2 partition /dev must be mounted in initrd so that /dev/mapper/'root' can be mounted on /. That's the main function of my initrd,

Re: Another attempt at S6 init

2015-04-21 Thread Laurent Bercot
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