Roland's homepage

My random knot in the Web

Articles about freebsd

  1. Automated local backups

    These days it is commonplace to have hardware or software RAID1, even in common PCs. In previous machines I've used ataraid to implement RAID1.

    The advantage is that every write is recorded on two disks at once, minimizing the chance of data loss. The flip side of the coin ...

  2. 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 ...

  3. 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 ...
  4. 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 ...
  5. 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 »