Articles about freebsd
Updating multiple systems using a pre-built FreeBSD
Should system backups be compressed?
Every now and then I make backups of my FreeBSD system's filesystems with the venerable dump program. This is the only program that can capture all features of the UFS filesystem. The filesystems to be backed up are:
- The root filesystem.
- The /usr filesystem.
- The /var filesystem.
Note
My ...
Updating to FreeBSD 9.1-RELEASE-p1
There have been some changes in the FreeBSD update process. The csup program has been retired, source code updating is now done with subversion. Since I haven't used that before, I'm documenting the steps that I took here.
I'm using source updates instead of freebsd-update because I ...
Writing speed on FreeBSD 9-RELEASE-p3 amd64
Now that I've switched to FreeBSD 9.0, I thought I'd repeat the write speed test I did in 2010 on my desktop machine.
The test is writing approximately 10 GB data from /dev/zero to /tmp/foo;
dd if=/dev/zero of=/tmp/foo bs=10M count ...
Writing speed on FreeBSD 8.1-RELEASE amd64
Recently the question came up how fast the write speed of a disk drive on FreeBSD should be. I decided to test the hardware that I have at my disposal, which is a desktop machine and a laptop.
The test is writing approximately 10 GB data from /dev/zero to ...
Using nullfs and unionfs for the ports tree in a jail
When running a virtual server in a jail, one would like to avoid replication of files as much as practical. One candidate for sharing would be the ports tree in /usr/ports. One could just make a symbolic link from /usr/ports in the jail's tree to the one ...
Updating to FreeBSD 8.1-RELEASE
Updating my desktop to 8.1-RELEASE from 8.0 was pretty straightforward. I used the following steps
- Made a backup and verified that it can be restored. I cannot stress enough how important that is!
- Using csup I updated my kernel sources, using the following supfile;
*default host=cvsup.nl ...
Enlarging networking buffers
In the hope of increasing networking performance, I've set the following sysctls in /etc/sysctl.conf;
# Increase send/receive buffer maximums from 256KB to 16MB. # FreeBSD 7.x and later will auto-tune the size, but only up to the max. net.inet.tcp.sendbuf_max=16777216 net.inet.tcp.recvbuf_max ...
Defining command completions for tcsh
The default interactive shell is tcsh. Recently I discovered that this shell also has the ability to complete your command-line by using the built-in complete command. After some experimentation, I've added the following lines to my /etc/csh.cshrc file:
complete cd 'p/1/d/' complete man 'p/1 ...
Page 1 / 2 »