Re: how do YOU hack the linux kernel ?

Krzysztof Halasa
2010-01-20T18:04:33Z

Ramagudi Naziir <naziirr@gmail.com> writes:

> do you use vim ?

Sure, for small changes. And emacs.

> If so, how do you open files you want to read/edit ?
> Assuming you don't remember their exact name/location, you'd need to
> use something like 'find . -iname '*pattern*'. which is slow.

Not very slow, if the tree is already in cache. You need only ca. 1 GB
of RAM for this. I never use ".", I use "*" instead as it ignores .git
directory:

$ time find * -iname \*pattern\*
real 0m0.051s

$ time grep "The pattern" * -r
(results)
real 0m0.330s

(grep -i is much slower).

Other tools? Git, gitk and WWW browser :-)
--
Krzysztof Halasa