[lkml]   [2001]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] 2.4 add suffix for uname -r
On Sun, 6 May 2001, Keith Owens wrote:

>Date: Sun, 06 May 2001 17:15:45 +1000
>From: Keith Owens <>
>Content-Type: text/plain; charset=us-ascii
>Subject: [patch] 2.4 add suffix for uname -r
>A frequent requirement is to rename vmlinuz-2.x.y to 2.x.y-old or
> to preserve a working kernel. But renaming the image does
>not change the value of uname -r so it still tries to use modules
>2.x.y, which defeats the purpose of saving an working kernel.
>Normally I would say that this is a user space problem but it requires
>finding every program that uses uname(2) and every script that uses
>uname -r and changing them, not practical (modutils, alsa, pciutils,
>/etc/rc.d, mkinitrd etc.). Instead this small patch to the kernel adds
>the boot time option unamersfx (uname -r suffix). Rename a kernel
>image from 2.x.y to, rename /lib/modules/2.x.y to
>and boot with to safely pick up the old kernel.
>Objects that "know" the value of uname -r that they were compiled with
>will not work with unamersfx. Are there any?

I don't see how this patch is necessary when we have
"EXTRAVERSION" available. Change EXTRAVERSION in your kernel
builds and it is totally a non issue. No renaming of anything is

Signature poll: I'm planning on getting a 12 or 16 port autosensing
10/100 ethernet switch soon for home use, and am interested in hearing
others recommendations on what to buy. Cost isn't as important as is
functionality and quality. Any suggestions appreciated.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.082 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site