The 03.06.30 at 06:24, Bill Parker wrote:
I want to do is modify exactly two lines in /usr/src/linux/include/linux/fs.h to give me a larger open file per process limit (default is 1024). However, when I do this, what do I need to do to ensure proper recompile and a bootable system with the stock /lib/modules?
Install suse kernel (bin and sources) - I assume you already did that. Ensure you are running the suse kernel, cd to /usr/src/linux and edit the Makefile. Put something in "EXTRAVERSION", like your intials. Run "make cloneconfig". This will clone the running kernel configuration to the source tree configs. Then modify whatever you need, and recompile ("make dep bzImage modules", for example). Install kernel image by whatever mode you like and the modules, adapt lilo or grub, run mk_initrd as required - I'm going fast here, I know :-) This way you have a kernel configured exactly as the original suse one, except your modifications, and the modules will be on a separate /lib/modules/yourkernel, so that you will still have the originall intact to goback if needed. -- Cheers, Carlos Robinson