Re: [Dng] Boot sequence: was vdev status update

2015-04-19 Thread Didier Kryn
Le 19/04/2015 16:44, Joerg Reisenweber a écrit : https://www.kernel.org/doc/Documentation/initrd.txt might come in handy /j Thanks for the link, Joerg. Actually steps 1-5 are performed by the kernel at boot time. The following is a suggestion; the author of the init program decides.

Re: [Dng] Boot sequence: was vdev status update

2015-04-19 Thread Joerg Reisenweber
https://www.kernel.org/doc/Documentation/initrd.txt might come in handy /j signature.asc Description: This is a digitally signed message part. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Re: [Dng] Boot sequence: was vdev status update

2015-04-19 Thread Laurent Bercot
On 19/04/2015 09:19, Didier Kryn wrote: Hi Laurent. I suspect, from a recent experience that /linuxrc is tried even before /init. Yes, but AFAICT, it's only when an initrd is used. (The relevant piece of code is init/do_mounts_initrd.c) And initramfs is not considered as an initrd, so /

Re: [Dng] Boot sequence: was vdev status update

2015-04-19 Thread Didier Kryn
Le 19/04/2015 01:39, Laurent Bercot a écrit : On 19/04/2015 01:06, Isaac Dunham wrote: I'm not sure exactly what the priority is, but the kernel searches /sbin/init, /init, and /linuxrc at least. From the kernel source (init/main.c): if (!try_to_run_init_process("/sbin/init") ||

Re: [Dng] Boot sequence: was vdev status update

2015-04-18 Thread Jude Nelson
Hi Steve, On Sat, Apr 18, 2015 at 12:02 PM, Steve Litt wrote: > On Sat, 18 Apr 2015 00:08:54 -0400 > Jude Nelson wrote: > > > > The init program in example/initramfs/init goes into > > /usr/share/initramfs-tools/init, not /sbin/init :) The initramfs's > > init script is fundamentally different

Re: [Dng] Boot sequence: was vdev status update

2015-04-18 Thread Laurent Bercot
On 19/04/2015 01:06, Isaac Dunham wrote: I'm not sure exactly what the priority is, but the kernel searches /sbin/init, /init, and /linuxrc at least. From the kernel source (init/main.c): if (!try_to_run_init_process("/sbin/init") || !try_to_run_init_process("/etc/init") ||

Re: [Dng] Boot sequence: was vdev status update

2015-04-18 Thread Isaac Dunham
On Sat, Apr 18, 2015 at 12:02:23PM -0400, Steve Litt wrote: > On Sat, 18 Apr 2015 00:08:54 -0400 > Jude Nelson wrote: > > > > The init program in example/initramfs/init goes into > > /usr/share/initramfs-tools/init, not /sbin/init :) The initramfs's > > init script is fundamentally different f

[Dng] Boot sequence: was vdev status update

2015-04-18 Thread Steve Litt
On Sat, 18 Apr 2015 00:08:54 -0400 Jude Nelson wrote: > The init program in example/initramfs/init goes into > /usr/share/initramfs-tools/init, not /sbin/init :) The initramfs's > init script is fundamentally different from the init program > in /sbin. That also explains your inability to reb