Re: how to get create/compile time of vmlinux
Building time has already been statically compiled into the kernel image file, you can use ' strings vmlinux | grep "Linux version" ' to get it back. 2012/4/20 卜弋天 > Hi All: > >i have a vmlinux file, how can i know when it is created/compiled? >thanks. > > > Best Regards > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: how to get create/compile time of vmlinux
On Fri, Apr 20, 2012 at 08:09:27PM +0800, 卜弋天 wrote: > Hi All:i have a vmlinux file, how can i know when it is created/compiled? > thanks. Best Regards The "file" utility should give you the version, the compile time, and some other information about vmlinuz and probably also vmlinux files. HTH, Jonathan Neuschäfer ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: how to get create/compile time of vmlinux
2012/4/20 卜弋天 : > Hi All: > > i have a vmlinux file, how can i know when it is created/compiled? > thanks. If you manage to boot the image, /proc/version should tell you when the image was compiled. Vlad ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: how to get create/compile time of vmlinux
2012/4/20 卜弋天 : > Hi All: > > i have a vmlinux file, how can i know when it is created/compiled? > thanks. If it's the original image (not a copy) you can always do a ls -l or stats on it... ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies