View Full Version : How to start learning FreeBSD OS Programming
Weinter
November 18th, 2008, 15:10
I have very basic C knowledge I like to know how to start on FreeBSD development :)
lyuts
November 18th, 2008, 16:44
I think you should improve your knowledge in C, then learn about UNIX systems in general (and BSD in particular) and then move on to FreeBSD development.
oliverh
November 18th, 2008, 16:56
You could start for instance with the FreeBSD Developers' Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/
Fixing PRs would be a good start too.
christian
November 18th, 2008, 17:28
Hello Community!
I want to learn, how the kernel of FreeBSD works. Can you advise any books or websites?
I can program with the languages C,C++ and a bit x86 Assembler (AT&T Syntax, I used the GNU assembler some months ago), so I think I can understand code examples and such things.
Best Regards
Christian
brd@
November 18th, 2008, 17:47
This is probably what you want: The Design and Implementation of the FreeBSD Operating System (http://www.informit.com/store/product.aspx?isbn=0201702452)
It is kind of old, but still has useful information.
snes-addict
November 18th, 2008, 18:23
FreeBSD's own system documentation is great. If you already know a little about the general internals of Unix, then you might want to check out the manual pages for system calls (http://www.freebsd.org/cgi/man.cgi?query=(2)&sektion=&apropos=1&manpath=FreeBSD+7.0-RELEASE&title=Section%20) and kernel interfaces (http://www.freebsd.org/cgi/man.cgi?query=(9)&sektion=&apropos=1&manpath=FreeBSD+7.0-RELEASE&title=Section%20).
jmathon
November 19th, 2008, 21:18
If you already have C programming knowledge, you can read this book :
Designing BSD Rootkits : An Introdution to Kernel Hacking
http://www.amazon.fr/Designing-BSD-Rootkits-Introduction-Hacking/dp/1593271425
I'm actually reading it, and I love it :D
netrom
November 19th, 2008, 21:23
If you already have C programming knowledge, you can read this book :
Designing BSD Rootkits : An Introdution to Kernel Hacking
http://www.amazon.fr/Designing-BSD-Rootkits-Introduction-Hacking/dp/1593271425
I'm actually reading it, and I love it :D
I read that one too. It's really nice and I'm doing several projects because of that book.. Yay! :e
danger@
November 19th, 2008, 21:43
I have got this one in my book shelf, but unfortunately haven't had a time to read it yet ;-(
netrom
November 19th, 2008, 22:00
Yeah, it's like that almost all the time. Have quite some books on my own shelf I never get time to look into..
matteo@
November 20th, 2008, 05:58
The 2nd edition of Advanced Programming in the UNIX Environment should be a good start too.
voice
November 20th, 2008, 09:08
Great article: http://www.r4k.net/mod/fbsdfun.html
emre
November 20th, 2008, 22:40
this article is quite understandable for starting kernel programming:
http://www.watson.org/~robert/freebsd/reading/
ephemera
November 21st, 2008, 07:12
this article is quite understandable for starting kernel programming:
http://www.watson.org/~robert/freebsd/reading/Thanks Emre. That article is an excellent intro to the fbsd kernel.
christian
November 22nd, 2008, 23:39
The Design and Implementation of the FreeBSD Operating System looks interesting, I think, I'll buy it.
The other books and websites are interesting, too. I'll have a look at them, when I've got enough time.
Christian
jleal2003
December 9th, 2008, 02:37
It is a very good start reading the handbook!!!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.