On Sun, 27 Jan 2002 16:40:56 -0500 dman <[EMAIL PROTECTED]> wrote: > On Sun, Jan 27, 2002 at 08:23:06AM +0800, csj wrote: > | On Sat, 26 Jan 2002 14:28:28 -0500 > | "Eric C. Cooper" <[EMAIL PROTECTED]> wrote: > | > | > On Sun, Jan 27, 2002 at 03:07:18AM +0800, csj wrote: > | > > In what file is the definitive documentation for ALL possible kernel > | > > boot parameters located? Things like "hdc=ide-scsi" or "apm=on" which > | > > you stick in your favorite bootloader. > | > > | > If you have a kernel source tree in /usr/src/linux, it's in > | > /usr/src/linux/Documentation/kernel-parameters.txt > | > | Thanks. But the file looks more like a list (and indeed it says so: "The > | following is a consolidated list...") than the fine documentation we > | love to flame clueless newbies with. For example, it doesn't explain > | what "idle=" is supposed to do or what options to pass to it (on/off? 60 > | [milliseconds]?). > | > | grep -i IDLE /usr/src/linux/Documentation/kernel-parameters.txt > | idle= [HW] > | > | Maybe it's google time. > > Try > > grep -ir IDLE /usr/src/linux/Documentation/ >
Let me do that one better. Let's look first for the suspects. alpha:/usr/src/linux> grep -lir IDLE /usr/src/linux/Documentation/ /usr/src/linux/Documentation/networking/z8530drv.txt /usr/src/linux/Documentation/networking/arcnet-hardware.txt /usr/src/linux/Documentation/networking/ifenslave.c /usr/src/linux/Documentation/Configure.help /usr/src/linux/Documentation/smp.tex /usr/src/linux/Documentation/isdn/README /usr/src/linux/Documentation/isdn/INTERFACE.fax /usr/src/linux/Documentation/powerpc/smp.txt /usr/src/linux/Documentation/s390/Debugging390.txt /usr/src/linux/Documentation/sx.txt /usr/src/linux/Documentation/sysctl/kernel.txt /usr/src/linux/Documentation/video4linux/bttv/README.quirks /usr/src/linux/Documentation/arm/SA1100/DMA /usr/src/linux/Documentation/kernel-parameters.txt /usr/src/linux/Documentation/pm.txt So which one? I narrow down the search to include the "=" sign, which is the form it's used as a kernel paramater. alpha:/usr/src/linux> grep -lir IDLE= /usr/src/linux/Documentation/ /usr/src/linux/Documentation/kernel-parameters.txt Which brings us back to where we started from, Eric's tip ("kernel-parameters.txt") > the options' details will be in the documentation file pertaining to > that option (eg 'pm.txt' for apm). As you can see from the above the details are either not there or hoarded in some none too obvious file. -- Humanity's future is in the stars: support a manned mission to Mars! http://www.thinkmars.net/petition/addpetition.html