Re: How about a /proc/patches ?

Sean M. Kelly (smkelly@zombie.org)
Mon, 23 Feb 1998 15:53:55 -0600 (CST)


On Mon, 23 Feb 1998, Chris Fowler wrote:

:Date: Mon, 23 Feb 1998 20:52:10 +0200 (GMT+0200)
:From: Chris Fowler <chrisf@Sandwich.iscorltd.co.za>
:To: linux-kernel@vger.rutgers.edu
:Subject: How about a /proc/patches ?
:
:Is there anybody out there who has thought about creating a patch for the
:kernel that would create a file /proc/patches that would list in it all
:the patches applied to that kernel.
:For example if I did a cat /proc/patches the output would be something
:like :
:
:20-penguin-boot-logo
:fat32_joliet_nls_patch-0.2.0
:proc-patch
:
:This would help people like me to find out what patches are compiled in a
:specific kernel so that they can reapply them when they upgrade the kernel.
:If there was a simple way to modify the existing patches such as inserting a
:line such as
:
: register_patch('Patch name description');
:
[snip]

That wouldd be a good idea as long as everybody who wrote a kernel patch
also madd sure they added the line to add the description for their patch.

For example, if an author didn't have their patch call register_patch(),
then the patch would not be listed in /proc/patches. All older patches
would nto be listed in the file, just newer ones that conformed to the
standards.

Other than that, it's a good idea... plus, at bootup, have it list the
patches:

. . .
Linux version 2.1.88 (root@main) (gcc version 2.8.0) #20 Sun Feb 22
10:47:00 CS
Kernel patches: 20-penguin-boot-logo, fat32_joliet_nls_patch-0.2.0,
proc-patch
. . .

-----
Sean M. Kelly
smkelly@zombie.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu