FreeBSD on OpenStack

Creating an OpenStack FreeBSD image

Cyso's new OpenStack platform (called Fuga.io) is currently undergoing rigorous beta testing by an ever-increasing amount of users. To facilitate them, we’re constantly adding images and operating systems to our library in Horizon. We’ve just released a new beta image for FreeBSD 10.1-RELEASE. To give you an understanding in what went into creating this image, we’ll provide you with a small guide and some backstory here. Cloud images Most of the cloud images consist of a few parts, which are generally the same between images:...

June 4, 2015 · 5 min

Daemonizing and Upstart

When creating command-line applications, the user is usually present at the terminal to provide commands to the application and read its output. This is called interactive mode. But sometimes, you want to start a long-running program in the background, so it runs while you're not present. This is called daemon mode, and the programs themselves are usually called daemons. Daemons? In contrast to their mythical counterpart, daemons under Unix are usually much more benign....

November 12, 2014 · 8 min
K&R The C Programming Language

Experimenting with C and a dive into UNIX

So I've just returned from a week long vacation to sunny Kos Island in Greece. As I lay beside the swimming pools of the resort I was staying, I found that I had loaded two particular books onto my Kindle. These books were “ The C Programming Language” by Kernigan and Ritchie, and “ Advanced Programming in the UNIX environment” by Stevens and Rago. As a long time Linux user and programmer, I have always been intrigued by the C programming language....

September 7, 2014 · 6 min
LVM illustrated

A Linux LVM primer

Linux's Logical Volume Manager, or lvm, is a method for dividing a physical disk (or physical volume, PV) into blocks (or physical extents, PE). These blocks can be assigned to partitions (or logical volumes, LV). The process of assigning PE’s to a LV creates a map for translating PE’s to LE’s, called the allocation map. The purpose of this abstraction of disk blocks is to create great flexibility when it comes to allocating disk space to partitions....

March 14, 2012 · 9 min