Skip to content
Archive of posts tagged kernel

kernel source code — the easier way to get it with git.

The simplest way to get the kernel code is : git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git If you want to get the other branches then head over to \”Kernel Git Page\” This will get the Linux kernel tree. As of today , 12 days ago, the tree was tagged to 2.6.31. Now thats cool, but do you want [...]

Short Information about loaded kernel modules

There are couple of ways you can find the information on the loadable kernel modules. All these would always involve calling lsmod to get the loaded kernel modules and then calling modinfo to get the info on the loaded modules. I will show you with examples: $ lsmod Module                  Size  Used by cdc_acm                19616  0 [...]

Get list of git repositories from command line.

Earlier I had posted a small blog on teamgit. The problem still is that you have to manually go to the git.kernel.org page and get the list of the repo\’s that you can download. How about a command line to get the same. Here\’s one: wget -O – http://git.kernel.org |grep \”class=.list.\” |grep -v title|awk -F\’>\’ [...]