Minimal Init

Here is a minimal init program that runs after the kernel boot.  Well, it does nothing except printing a hello world statement.  The system kernel panics once the program finishes. The program working principle is to first mount the device file system, with the nmount(2) system call.  Then, print to the "/dev/console" and quit.  Before … Continue reading Minimal Init


My Thoughts

It has been two months since I posted my last post, which is about the GEOM gate mechanisms.  Recently, I have been sidetracked to other activities like speculating in bitcoins, Portuguese language games, etc. I fell in love with FreeBSD and Mac OS X at my age 17.  Well, to be precise, some geeks pushed … Continue reading My Thoughts

Network Booting FreeBSD

Installing an operating system is easy for a computer or two.  What about installing for multiples of them?  In some situations, one wants to save money and time from buying that many boot devices and maintain the disk images separately.  Network boot comes handy.  It is relatively easy with FreeBSD, especially since we do not … Continue reading Network Booting FreeBSD

Network File System with Firewall in FreeBSD

Network file system nfs(8) in FreeBSD is built on top of rpc(3) infrastructure where rpcbind(8) daemon is responsible binding the services for the clients.  Together with the companion services rpc.lockd(8), rpc.statd(8), and mountd(8), providing the total service with a firewall is tricky since the ports are different all the time.  In addition, sometimes the services are better to … Continue reading Network File System with Firewall in FreeBSD