Re: stripping down the kernel-parameters.txt file

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Newall <david@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>
Date: Wednesday, September 12, 2007 - 10:06 am

On Wed, 12 Sep 2007, David Newall wrote:


  or (and here's a wild and crazy idea) what about writing a utility
that auto-generates all that information?

  the biggest hassle in keeping all the documentation up to date is
that much of it is being stored in a manually-updated text file
(MAINTAINERS leaps to mind), so *of course* it's always going to be
out of date.  so why not just fix it so it's auto-generated, the same
way the in-kernel nano-doc stuff is?

  surely, it wouldn't be that hard, at least for the basic parms.  a
combination of egrep, sed and sort would certainly give you the basic
parms.  off the top of my head:

$ egrep '(__setup|early_param)' $(find . -name *.c) | \
$

  of course that's not sufficient, but it took me all of two minutes.
would it be that much work to extend it and deal with once and for
all?

rday
-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
stripping down the kernel-parameters.txt file, Robert P. J. Day, (Wed Sep 12, 3:50 am)
Re: stripping down the kernel-parameters.txt file, David Newall, (Wed Sep 12, 8:43 am)
Re: stripping down the kernel-parameters.txt file, Robert P. J. Day, (Wed Sep 12, 9:11 am)
Re: stripping down the kernel-parameters.txt file, Rogan Dawes, (Wed Sep 12, 10:30 am)
Re: stripping down the kernel-parameters.txt file, Robert P. J. Day, (Wed Sep 12, 10:44 am)
Re: stripping down the kernel-parameters.txt file, Kyle Moffett, (Wed Sep 12, 1:47 pm)
Re: stripping down the kernel-parameters.txt file, Randy Dunlap, (Wed Sep 12, 1:56 pm)
Re: stripping down the kernel-parameters.txt file, David Newall, (Wed Sep 12, 9:32 am)
Re: stripping down the kernel-parameters.txt file, Robert P. J. Day, (Wed Sep 12, 10:06 am)