<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Lazy clouds &#187; DragonFlyBSD</title>
	<atom:link href="http://www.danielbond.org/archives/category/unix/dragonflybsd/feed" rel="self" type="application/rss+xml" />
	<link>http://www.danielbond.org</link>
	<description>Just another grumpy admin</description>
	<lastBuildDate>Sat, 31 Oct 2009 19:10:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Some nice details in the DragonFlyBSD operating system</title>
		<link>http://www.danielbond.org/archives/69</link>
		<comments>http://www.danielbond.org/archives/69#comments</comments>
		<pubDate>Sat, 23 May 2009 19:56:12 +0000</pubDate>
		<dc:creator>Daniel Bond</dc:creator>
				<category><![CDATA[DragonFlyBSD]]></category>

		<guid isPermaLink="false">http://danielbond.org/?p=69</guid>
		<description><![CDATA[The more I use DragonFlyBSD, the more I like it. The DragonFlySD developers are very good at writing manuals (manpages), and it&#8217;s very enjoyable to start using, and get familiar with, both as a normal UNIX/BSD user, and as a UNIX developer. It has a high impression of completeness in many aspects, and a lot of [...]]]></description>
			<content:encoded><![CDATA[<p>The more I use DragonFlyBSD, the more I like it. The DragonFlySD developers are very good at writing manuals (manpages), and it&#8217;s very enjoyable to start using, and get familiar with, both as a normal UNIX/BSD user, and as a UNIX developer. It has a high impression of completeness in many aspects, and a lot of nice details. In this post I&#8217;ll write about some of the things I really like about it. </p>
<h2>BSD Installer</h2>
<p>DragonFlyBSD ships with the <a title="BSDInstaller - opensource OS installer" href="http://bsdinstaller.org/">BSDInstaller</a>. You will find it familiar if you have previously used <a title="Opensource Firewall appliance, based on OpenBSD's Packet Filter." href="http://pfsense.org">PFSense</a> or <a title="FreeBSD based desktop liveCD" href="http://www.freesbie.org/">FreeSBIE</a>. The installer that comes with DragonFlyBSD, can be used to instantly make any computer an install-server. It is very fast and straight forward to use, and it lets you choice whether you want to set details like root-password, hostname and network settings &#8211; which can sometimes be nice to skip for a quick test.</p>
<p>The installer is also a LiveCD, that lets you log in to the system and test it, before installing it. To install it you simply log in as user &#8220;installer&#8221;, and you are presented with the installation menu. If you have flash video support, here is a clip of a DragonFlyBSD installation:</p>
<h3>Videoclip of DragonFlyBSD installer</h3>
<p><object width="720" height="444" data="http://content.screencast.com/users/mr_bond/folders/Default/media/3731cdbc-a60f-492b-ac0a-f17b980509bb/bootstrap.swf" type="application/x-shockwave-flash"><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="thumb=http://content.screencast.com/users/mr_bond/folders/Default/media/3731cdbc-a60f-492b-ac0a-f17b980509bb/FirstFrame.jpg&amp;containerwidth=720&amp;containerheight=444&amp;content=http://content.screencast.com/users/mr_bond/folders/Default/media/3731cdbc-a60f-492b-ac0a-f17b980509bb/installing%20dfbsd.swf" /><param name="allowFullScreen" value="true" /><param name="scale" value="showall" /><param name="allowScriptAccess" value="always" /><param name="base" value="http://content.screencast.com/users/mr_bond/folders/Default/media/3731cdbc-a60f-492b-ac0a-f17b980509bb/" /><param name="src" value="http://content.screencast.com/users/mr_bond/folders/Default/media/3731cdbc-a60f-492b-ac0a-f17b980509bb/bootstrap.swf" /><param name="flashvars" value="thumb=http://content.screencast.com/users/mr_bond/folders/Default/media/3731cdbc-a60f-492b-ac0a-f17b980509bb/FirstFrame.jpg&amp;containerwidth=720&amp;containerheight=444&amp;content=http://content.screencast.com/users/mr_bond/folders/Default/media/3731cdbc-a60f-492b-ac0a-f17b980509bb/installing%20dfbsd.swf" /><param name="allowfullscreen" value="true" /></object><br />
 </p>
<h2>NRELEASE build system</h2>
<p>The git-based release system, called nrelease. It trivializes the build-aspects of DragonFlyBSD. It lets the user generate custom installers and installations, with easy package-selection. It lets users build install ISO, LiveCD ISO and usb-stick images. Cool!</p>
<p>The nrelease system is in /usr/src/nrelease. You will first need to checkout a copy of the DragonFlyBSD operating system, this can be done efficiently with the git revision control management tools. To do the initial checkout do the following:</p>
<blockquote><p>df# cd /usr<br />
df# make git-clone <br />
df# make help </p></blockquote>
<p>The command above will give you latest HEAD, you might want to check out a release, unless you are a developer. To get finer control, you can use the git-tool directly. If you are in the scandinavian region, you could use my mirror, which is updated from crater.dragonflybsd.org:</p>
<blockquote><p>df# git clone -o blazefire git://blazefire.danielbond.org/dragonfly.git /usr/src </p></blockquote>
<p>You will get an error, if &#8220;/usr/src&#8221; already exists. If you are going to mess about in /usr/src, it&#8217;s a good idea with some basic git knowledge.</p>
<p>Once you have obtained the source, you can mess about with the nrelease system in /usr/src/nrelease, here are some examples from &#8220;make help&#8221;:</p>
<blockquote><p>df# make help<br />
make [gui] release<br />
make [gui] quick</p></blockquote>
<p>These tools can be used to create LiveCDs or DVDs and USB-stick images.</p>
<h2>Parallel kernel builds</h2>
<p>DragonFlyBSD supports parallel kernel builds. Being mainly a FreeBSD user, this is one of the many small details I mentioned earlier, that makes DragonFlyBSD stand out. To use multiple jobs, you supply &#8220;-j &lt;number&gt;&#8221; argument to &#8220;make&#8221;, like you would in buildworld, and it&#8217;s completely safe!</p>
<h2>rcNG improvements</h2>
<p>Matt wrote a set of tools, which makes it more pleasurable to handle the rcNG system. Like FreeBSD, DragonFlyBSD also uses the rcNG system, to start and stop system daemons, like sendmail and OpenSSHD. It also controls daemons installed from pkgsrc (or ports in FreeBSD). Here are some examples of Matt&#8217;s tools:</p>
<h3>Enabling OpenSSHD</h3>
<blockquote><p><span style="font-weight: normal;">df# rcrun enable sshd<br />
df# rcrun start sshd<br />
df# rcstop sshd &amp;&amp; rcstart sshd &amp;&amp; rcrestart sshd<br />
df# rclist sshd<br />
rcng_sshd=running<br />
df# </span></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.danielbond.org/archives/69/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
