From 5753b027cfd3f52526630ed8214d56b8073292c0 Mon Sep 17 00:00:00 2001 From: Chris Costello Date: Sat, 11 Dec 1999 06:04:35 +0000 Subject: [PATCH] Specify the proper usage of the find(1) command, specifically for how to find an option in the kernel source code. --- .../books/handbook/kernelopts/chapter.sgml | 17 +++++++++-------- .../books/handbook/kernelopts/chapter.sgml | 17 +++++++++-------- 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/kernelopts/chapter.sgml b/en_US.ISO8859-1/books/handbook/kernelopts/chapter.sgml index b133e948f2..f39d90a1e6 100644 --- a/en_US.ISO8859-1/books/handbook/kernelopts/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/kernelopts/chapter.sgml @@ -1,7 +1,7 @@ @@ -130,13 +130,14 @@ options notyet,notdef Finally, find out which kernel files depend on the new option. Unless you have just invented your option, and it does not exist - anywhere yet, &prompt.user; find /usr/src/sys -name - type f | xargs fgrep NEW_OPTION is your friend - in finding them. Go and edit all those files, and add - #include "opt_foo.h" on top, - before all the #include <xxx.h> stuff. This - sequence is most important as the options could override defaults from - the regular include files, if the defaults are of the form + anywhere yet, +&prompt.user; find /usr/src/sys -type f | xargs fgrep NEW_OPTION + + is your friend in finding them. Go and edit all those files, and add + #include "opt_foo.h" on + top before all the #include <xxx.h> stuff. + This sequence is most important as the options could override defaults + from the regular include files, if the defaults are of the form #ifndef NEW_OPTION #define NEW_OPTION (something) #endif in the regular header. diff --git a/en_US.ISO_8859-1/books/handbook/kernelopts/chapter.sgml b/en_US.ISO_8859-1/books/handbook/kernelopts/chapter.sgml index b133e948f2..f39d90a1e6 100644 --- a/en_US.ISO_8859-1/books/handbook/kernelopts/chapter.sgml +++ b/en_US.ISO_8859-1/books/handbook/kernelopts/chapter.sgml @@ -1,7 +1,7 @@ @@ -130,13 +130,14 @@ options notyet,notdef Finally, find out which kernel files depend on the new option. Unless you have just invented your option, and it does not exist - anywhere yet, &prompt.user; find /usr/src/sys -name - type f | xargs fgrep NEW_OPTION is your friend - in finding them. Go and edit all those files, and add - #include "opt_foo.h" on top, - before all the #include <xxx.h> stuff. This - sequence is most important as the options could override defaults from - the regular include files, if the defaults are of the form + anywhere yet, +&prompt.user; find /usr/src/sys -type f | xargs fgrep NEW_OPTION + + is your friend in finding them. Go and edit all those files, and add + #include "opt_foo.h" on + top before all the #include <xxx.h> stuff. + This sequence is most important as the options could override defaults + from the regular include files, if the defaults are of the form #ifndef NEW_OPTION #define NEW_OPTION (something) #endif in the regular header.