Danger@, a FreeBSD developer, is planning to maintain a list on the FreeBSD Forums of books, slides, tutorials, videos and other multimedia resources which are related to FreeBSD development.
ccache is a compiler cache. It speeds up re-compilation of C/C++ code by caching previous compiles and detecting when the same compile is being done again.
The following is a step by step guide to how to enable and use ccache on FreeBSD 7.1:
- # cd /usr/ports/devel/ccache
- # make install clean
- # vim /etc/make.conf
.if (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) && !defined(NOCCACHE)
Basically we’ve started by installing ccache (steps 1 through 3) and proceeded by editing /etc/make.conf as to enable ccache on builds.
Now we need to update the environment.
Further instructions here
Source: linux-bsd-sharing.blogspot.com (19/01/2009)
Geekmalaya has a post with 18 points on why the writer thinks FreeBSD is better than Linux.
- BSD license allows users/companies to modify a program’s source code and not to release changes to the public
- BSD has the so-called “core system” (without packages)
- On BSD systems, all add-on packages are strictly installed into the /usr/local directory
- BSD systems use the system of “ports”, which are fingerprints of applications in the /usr/ports directory
- BSD systems have also their stable version
- Of course, the kernel is absolutely different
- BSD has FFS file system
- BSD systems divide their partitions internally
- Unless you make a good kernel hack, BSD systems can only be installed into the primary partition
- System configuration is manual for most of the time, but various clones like PC-BSD break this convention
- All BSD systems have a Linux emulation support
- BSD systems have less support from driver vendors, thus they lag behind in this view
- BSD systems do not use the Unix System V
- BSD kernels can be set to several security levels
- BSD’s have everything under one ROOF
- Generally, BSD systems boot and reboot faster than Linux
- In comparison to BSD, most Linux distributions are overbloated
- If you compile programs from ports, you will not stumble into compilation errors
I’m only linking to this article for information – please don’t start a flame war here. Read the whole article and the reasoning here.
Source: geekmalaya.com – 22/01/2009
The FreeBSD bugbusting team is coordinating a network bugathon, which will be held from 2009-01-30 to 2009-02-01 (Fri-Sun). The plan is to work through all network related PRs still open in GNATS. Everyone is welcome to join and help this effort.
Lots of more information is available on the FreeBSD wiki: http://wiki.freebsd.org/Bugathons/January2009
IRC channel where all the fun stuff will happen: #freebsd-bugbusters on EFNet
Source: FreeBSD Forums
The instructions are in German and can’t unfortunately be automatically translated with Google Translate since the link is https. The steps and commands are easy to follow, but if you’re not altogether sure, copy the (part of the) text and paste it in Google Translate.
“After loader support for ZFS was imported into FreeBSD around a month ago, I’ve been thinking of installing a ZFS-only system on my laptop. I also decided to try out using the GPT layout instead of using disklabels etc.
The first thing I started with was to grab a snapshot of FreeBSD CURRENT. Since sysinstall doesn’t support setting up ZFS etc, it can’t be used, so one have to use the Fixit environment on the FreeBSD install cd to set it up. I started out by removing the existing partition table on the disk (just writing zeros to the start of the disk will do). If you’re reading this before the january 2009 snapshot of CURRENT comes out , you have to create your own iso image in order to get loader with the latest fixes. Look in src/release/Makefile and src/release/i386/mkisoimages.sh for how to do this.
Then, the next step was to setup the GPT with the partitions that I wanted to have. Using gpt in FreeBSD, one should create one partition to contain the initial gptzfsboot loader. In addition, I wanted a swap partition, as well as a partition to use for a zpool for the whole system.
To setup the GPT, I used gpart(8) and looked at examples from the man-page. The first thing to do is to setup the GPT partition scheme, first by creating the partition table, and then add the appropriate partitions”
Step-by-step instructions can be found here (Lost in volumes – 16/12/2008)
The discussion on GPL vs BSD licensing will probably never end, unless one or both licenses cease to exist.
There’s an interesting post about the GPL license and BSD license, and the writer’s suggests that the public domain license is the license to be chosen for real freedom, as the other two lay restrictions on the user.
About the GPL license he notes:
That’s what the GPL really is. A binding contract : That is a set of restrictions on those who use, develop or modify content licensed under it. It is not now or has ever been a formula on “freedom”. The GPL is not the definition of “generocity” that is giving without expecting any return. I hope all you GPL advocates would stop treating it as such and call it what it is. A license and a binding contract. Nothing more.
I.e. GPL restrictions are there to keep the freedom to change, modify, and share the code.
With regards to the BSD license he remarks:
Unlike the GPL, the BSD license doesn’t pretend to be something it isn’t and users of BSD license are well aware that, like all licenses, it is a binding contract between developers, distributors, and users. They have no delusions about how much “freedom” both licenses afford however the BSD still being a license it still has usage restrictions. Namely the copyright and disclaimer.
Developers using the BSD license don’t care nor want to police the actions of users once the source is copied. They’re not interested in “freedom” through coersion, which is actually slavery. They just want to make sure their products and sources are available from them regardless of need or future availability. If the users want to share their own modifications, then more power to them. But they’ll be damned if it’s by force.
I.e. the BSD license lets users do whatsoever they want with the software, even using it commercially (in closed source).
If real freedom is to be chosen, the author suggests going down the public domain route. This license places basically no restrictions whatsoever on your software. Anybody can use the software, may sell it or do with it what (s)he wants.
Read the post in its entirity.
Talking about blog posts discussing GPL vs BSD, here’s another recent one: BSD vs GPL (nevali.net – 30/12/2008)
Version 2.0 of the PBI Builder Software has been released today for systems running PC-BSD 7.x.
The PBI Builder is a development tool used to create PBI files from applications in the FreeBSD ports tree. This version implements PBI Schema Version 2, which drastically improves the self-containment of PBIs, and reduces the need for sym-links to be created outside of a PBIs directory structure. This improvement greatly enhances the reliability of PBI files, while at the same time preventing potential conflicts with a PBI and user-installed applications from FreeBSD ports.