From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RBUnD-0003wn-MN for garchives@archives.gentoo.org; Wed, 05 Oct 2011 16:58:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA2F021C20A; Wed, 5 Oct 2011 16:57:54 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id EB8EB21C0CD for ; Wed, 5 Oct 2011 16:56:51 +0000 (UTC) Received: by wyf19 with SMTP id 19so2401919wyf.40 for ; Wed, 05 Oct 2011 09:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=tjSpkOEb25junkXIe9UsPTFxpOm67rDsZLCZwTsm8Fc=; b=fRpMOkS4oxUFz9H4OUy0YJiIDPP21O/1TWX2UDKXQTfNlT1BMBivQK7wCf48H1VdlP hhmmi2kKsKQe66Hp/kjdP4ztAjNvMGXcyqU95j2nLsng/5FPsdk/zoHc2yarbevXNRYS NLS5xrcR/l3PlFIdte3uuIlcC1HrFzkkJ+cPY= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.133.219 with SMTP id q69mr3164883wei.79.1317833811072; Wed, 05 Oct 2011 09:56:51 -0700 (PDT) Received: by 10.216.132.80 with HTTP; Wed, 5 Oct 2011 09:56:50 -0700 (PDT) In-Reply-To: References: <4E8AD6C4.7070901@gmail.com> <20111004110746.395635e0@zaphod.digimed.co.uk> Date: Wed, 5 Oct 2011 09:56:50 -0700 Message-ID: Subject: Re: [gentoo-user] Re: Is grub2 stable and who uses it? From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 3efab23dd0ceb8546dee6761b8501951 On Wed, Oct 5, 2011 at 7:46 AM, Grant Edwards w= rote: > On 2011-10-05, Pandu Poluan wrote: > >>> I give up. =C2=A0I've absolutely no idea what grub2 has to do with the = OS's >>> init system, and none of what you've written makes any sense to me. >> >> I think what he meant was: > > I assume you mean PID#1 (typically /sbin/init). =C2=A0On Unixes with PID#= 0, > it's usually the swapper or scheduler task that's internal to the > kernel. > >> The *installer* portion of grub2 is aware of which pid#0 is running >> when it auto-creates the bootloader's configuration. That pid#0 is >> passed on to the kernel by the bootloader. > > OK. =C2=A0I that I understand. =C2=A0It seems a bit redundant to me: I've= been > running Linux since the 0.99 days and never had to pass init=3D to a > kernel. =C2=A0But, I guess it won't hurt anything... > >> The *bootloader* portion of grub2 don't know and don't care what is >> being used as pid#0 by the OS. All it knows is that the installer >> portion has specified something to be passed to the OS. And that's >> what it does, without understanding anything about pid#0. > > And the set of init scripts that belong to grub2 are just to try to > auto-magically generate the config file? With options from /etc/default/grub, yes. But please stop calling the files in /etc/grub.d "init scripts". That's the whole reason I dragged the init systems into the discussion: you said that GRUB2 "got it's own initsystem and it's own set of init scripts." And it's simply not true. Maybe with the best of intentions, but that's disinformation. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico