I'm confused in this zoo of initialization systems.

init is the equivalent of SysVinit?

  • one
    SysVinit is just a kind of init for systems that are the heirs of the System V. so that we can say that it is equal. Although I think if you want you can init and from BSD and OSF / 1 to screw - Mike
  • Rather than = ==. - D-side

1 answer 1

init=/путь/к/файлу - this is just one of the parameters of the linux program, indicating which file should be run after the initialization process of the linux program itself (in fact, this is practically the only one (besides unpacking the initrd and mounting the root fs) and the last “active” action that the linux program performs). from this point on, it can be said that the operating system begins.

by default, this parameter is /sbin/init .

sysv-init (more correctly, probably, to say sysv-style init ) is only one of the "styles" of initialization of the operating system. There are, of course, different implementations of this "style." and there are other "styles".


specifying: no, the linux program parameter called init is not sysv-style init .


A typical implementation of sysv-style init , used, for example, in the sysvinit package in debian- core distributions is the System V style init programs .

typical implementations of other styles are upstart , systemd , etc. etc.; many are listed in the init wiki article .

  • one
    @ Sergey systemd is the initialization system that replaced the init system v - aryndin
  • one
    @Sergey and for that matter, the wiki: init (short for English. Initialization - initialization) is the initialization system in UNIX and Unix-like systems that starts all other processes. It works as a daemon and usually has a PID 1. Usually (according to the Filesystem Hierarchy Standard) is located along the path / sbin / init. - aryndin
  • one
    @Sergey, upstart and systemd are obviously other “styles”. in particular, as far as I know, they have no division by runlevels . about different implementations - as far as I know (and looking at the list in a wiki article), this style is very much in line with at least busybox-init and initng. - aleksandr barakin
  • one
    @alexanderbarakin systemd has all the same launch levels, just implemented differently. In particular, runlevel on ubuntu 16.04 gives N 5 - that is, the fifth launch level. - aryndin
  • one
    @ jumpjet67, as far as I know, is just “mimicry under sysv ”. - aleksandr barakin