Similar Posts
FreeBSD Jail filesystems
I’ve been using FreeBSD jails for a while, and was looking for a simple way to create jail filesystems. After some reading, I came up with this simple script which creates full FreeBSD filesystems. The filesystem can then be used via jail.conf. #!/bin/bash JAILNAME=$1 echo “kjail “$1 JAIL_HOME=/tank/kjail/ FTP=http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.1-RELEASE/ # # get packages # if…
Bootstrapping pkgng on FreeBSD ARM
There is no official pkgng repo for FreeBSD-arm, yet. There is an unofficial one, here, however in order to use it, you have to have pkgng installed. As far as I can tell, the only way to install pkgng on ARM is to builds and install from source. On the platform I’m using, Wandboard, the…
The FreeBSD FDT, the Raspberry PI SPI
How the FDT works In specific, I’m looking at this file bcm2835.dtsi which contains the hardware definitions for the BCM2835, the SOC which powers a Raspberry Pi. Primarily, i’m interested in how to read it. To really make sense of this, you should have this pdf at hand; it’s the hardware manual for BCM2835. If…
Time Machine backups using FreeBSD ZFS
In this blog article, I described a way to use Netatalk3 to do Time Machine backups on FreeBSD. This approach worked well, but it had some problems: The Time Machine backups are in every user’s home dir. That’s messy and there is the potential that they’ll accidentally delete the backup. If I put the backups…
Configuring the FreeBSD automounter
I have a number of disks in my FreeBSD box which exist only as backups of data. I prefer that they not be mounted all the time, but instead mounted on use. They are 2x internal SATA disks and an external USB3 disk. This blog post explains how they are set up to auto-mount….
Creating a custom FreeBSD build for Raspberry Pi
The default FreeBSD kernel for Raspberry Pi can be found here in the FreeBSD source browser. It’s everything you need to boot FreeBSD on a Pi, and includes GPIO support. However, the Pi is a nice small computer, so it’s likely that you’ll want it to include options such as Wifi, and pf. In my…