mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Coywolf Qi Hunt <coywolf@gmail.com>
Cc: Andrew Morton <akpm@osdl.org>, "H. Peter Anvin" <hpa@zytor.com>,
	linux-kernel@vger.kernel.org, SYSLINUX@zytor.com
Subject: Re: [PATCH] /proc/sys/kernel/bootloader_type
Date: Fri, 31 Dec 2004 15:36:47 +0100	[thread overview]
Message-ID: <1104503807.5402.29.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <2cd57c90041231062438c2cab9@mail.gmail.com>

On Fri, 2004-12-31 at 22:24 +0800, Coywolf Qi Hunt wrote:
> On Fri, 31 Dec 2004 11:12:34 +0100, Arjan van de Ven
> <arjan@infradead.org> wrote:
> > On Fri, 2004-12-31 at 01:34 -0800, Andrew Morton wrote:
> > > "H. Peter Anvin" <hpa@zytor.com> wrote:
> > > >
> > > > This patch exports to userspace the boot loader ID which has been
> > > >  exported by (b)zImage boot loaders since boot protocol version 2.
> > >
> > > Why does userspace need to know this?
> > 
> > so that update tools that update kernels from vendors know which
> > bootloader file they need to update; eg right now those tools do all
> > kinds of hairy heuristics to find out if it's grub or lilo or .. that
> > installed the kernel. Those heuristics are fragile in the presence of
> > more than one bootloader (which isn't that uncommon in OS upgrade
> > situations).
> > 
> 
> This boot loader ID doesn't help much for system upgrade. The running
> kernel may boot from removable drive.

but then it says syslinux or so... 
means that the lilo-or-grub question still needs the heuristics, it's
just that in the normal case, the bootloader type can help make the
heuristics reliable.



  reply	other threads:[~2004-12-31 14:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-30  0:39 H. Peter Anvin
2004-12-31  9:34 ` Andrew Morton
2004-12-31 10:12   ` Arjan van de Ven
2004-12-31 14:24     ` Coywolf Qi Hunt
2004-12-31 14:36       ` Arjan van de Ven [this message]
2004-12-31 20:10   ` H. Peter Anvin
2005-01-01 20:22 ` Kay Sievers
2005-01-02  8:56   ` Lethalman
2005-01-01  9:39 Lethalman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1104503807.5402.29.camel@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=SYSLINUX@zytor.com \
    --cc=akpm@osdl.org \
    --cc=coywolf@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®