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") ||
            !try_to_run_init_process("/etc/init") ||
            !try_to_run_init_process("/bin/init") ||
            !try_to_run_init_process("/bin/sh"))
                return 0;

with /init being executed prior to any of those lines if it exists.

Hi Laurent. I suspect, from a recent experience that /linuxrc is tried even before /init.

    Didier

_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to