On Wed, 23 Aug 2000, Frank Liu wrote:

>> so what the problem ? on the emu machine is not generated for i don't
>> reason, and with the possum machine it generated, and Frank can play
>> with that (actually with version.h who manage to play with kernel.h)
>
>kernel.h is useless because on a redhat system, no matter what 
>kernel you are running, you always have the same kernel.h file
>(as generated by rc.sysinit).

4 root@asdf:/etc/rc.d# rgrep -r kernel.h *
rc.sysinit:OLDSMP=`grep "#define
__BOOT_KERNEL_SMP" /boot/kernel.h 2>/dev/null | awk '{ print $3
}'`
rc.sysinit:OLDUP=`grep "#define __BOOT_KERNEL_UP" /boot/kernel.h
2>/dev/null | awk '{ print $3 }'`
rc.sysinit: cat > /boot/kernel.h << EOF

4 root@asdf:/etc/rc.d# rpm -qf /boot/kernel.h
kernel-headers-2.2.14-5.0

4 root@asdf:/etc/rc.d# dir /boot/kernel.h
-rw-r--r--    1 root     root          237 Jul 30 03:34 /boot/kernel.h


Hope this helps..

TTYL


-- 
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

       Try out Red Hat Linux today:  http://www.redhat.com
           ftp://ftp.redhat.com/pub/redhat/redhat-6.2/




_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to