Szerző: Svante Signell Dátum: Címzett: KatolaZ, dng Tárgy: Re: [DNG] Mini init script written in Perl boots.
On Fri, 2016-06-17 at 20:19 +0100, KatolaZ wrote: > On Fri, Jun 17, 2016 at 03:02:54PM -0400, Steve Litt wrote:
>
> Well, if your definition of "initialisation" is just "getting
> something that can boot and shut down without requiring journal
> restores or fsck", then I don't see why Edward is calling rc from his
> script, instead than just a shell.
>
> The truth is that you need somebody that mounts filesystems, invites
> syslog, cron, and a few more guys to the party, loads all the modules
> you need to actually use your hardware, configures a bit of the
> hardware you got, sets the locale, sets the keyboard layout to your
> preferred one, and so on and so forth. This is what is normally
> called an "init system", which is the guy that takes care of getting
> the system in such a state that allows you to use it *comfortably*,
> without the need to manually replay the configuration again and
> again, at each reboot.
Well, talking in terms of #pid numbers, all the above can be taken care
of by a #pid2 process, right? Regardless of what you call an init
system or not, that's irrelevant and up to interpretations. I fully
agree with Steve.