Re: kernel hack
From: David Malone (dwmalone_at_maths.tcd.ie)
Date: 09/25/05
- Previous message: Robert Watson: "Re: freebsd-5.4-stable panics"
- In reply to: kamal kc: "kernel hack"
- Next in thread: Stefan Sperling: "Re: kernel hack"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 25 Sep 2005 13:24:47 +0100 To: kamal kc <kamal_ckk@yahoo.com>
On Sun, Sep 25, 2005 at 03:31:51AM -0700, kamal kc wrote:
> does anybody know what is the best way
> to start kernel hack.
It isn't quite clear what you mean, but presuming you mean "make
a change to the FreeBSD kernel that you use" then:
1) First learn how to recompile your kernel.
You can get details from the FreeBSD handbook
(http://www.freebsd.org/handbook/).
2) Look under /usr/src/sys for the kernel source code.
The main bit is in /usr/src/sys/kern, networking
lives under /usr/src/sys/net* and so on.
3) Change the code you want and then recompie the kernel.
Remember to keep an old kernel around incase you make
a mistake.
David.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Robert Watson: "Re: freebsd-5.4-stable panics"
- In reply to: kamal kc: "kernel hack"
- Next in thread: Stefan Sperling: "Re: kernel hack"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|