Roland's homepage

My random knot in the Web

Articles about freebsd

  1. Python bindings for libmagic

    This documents how I installed Python bindings for libmagic.

    There are actually different bindings for libmagic. One set is part of the original distribution. It can be found in /usr/src/contrib/file/python/. But in my opinion it is somewhat cumbersome to use and not very Pythonic.

    The implementation from ahupp/python-magic in Github feels more natural.

  2. Updating FreeBSD from source

    Sometimes I need to update my FreeBSD operating system. I prefer to do that from the source code, so that my customizations in (/etc/src.conf) remain.

    At the writing of this article, I’m tracking the 10-STABLE branch. To start this, I removed the contents of /usr/src ...

  3. Switching IPython to Python 3

    More and more, IPython has become my tool of choice as the ultimate calculator and to try out concepts and code for use in my programs.

    While I generally use the terminal-based interactive shell, notebooks offer more capabilities for integrating text, formulas and graphics.

    With Python 2.7 effectively mostly ...

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

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

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


Page 1 / 2 Page 2 →