On Thu, Dec 12, 2002 at 03:51:26PM -0800, Ahmed A wrote: > Hello, > > I have the following scenario, can someone tell me if > I this will work? Sure it will. It's ment to work that way. > I have a system with Linux installed. Looking at the > config file, it has the NFS configuration option set > to M (compile as module). > > If I do the following steps, is it valid, and will it > work: > > 1. Copy the /src/linux to my local directory > 2. Make some changes to NFS source file (basically add > kprintfs ) > 3. Compile kernel (hence compile the module). No, you compile modules only (make modules), not kernel (make bzImage or make install). Compiling kernel generaly does not mean compiling modules. > 4. Install the module (of course logged in as root). > > Note I am doing this without using the newly built > kernel, or do I need to reboot with new kernel before > I can use the new module? You don't need to reboot. Since you don't recompile the kernel proper, only modules, there is really no reason. ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@ucw.cz> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/