<?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>We The Free &#187; Linux</title>
	<atom:link href="http://wtf.geek.nz/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://wtf.geek.nz</link>
	<description>Free software, freedom from religion, and freedom of expression</description>
	<lastBuildDate>Sun, 25 Jul 2010 20:50:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Spam Assassin statistics reporter</title>
		<link>http://wtf.geek.nz/2010/06/spam-assassin-statistics-reporter/</link>
		<comments>http://wtf.geek.nz/2010/06/spam-assassin-statistics-reporter/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 21:52:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[awk]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[spamassassin]]></category>

		<guid isPermaLink="false">http://wtf.geek.nz/?p=166</guid>
		<description><![CDATA[I wrote a bit of a stats reporter for Spam Assassin recently for work. After posting the output on the SA mailing list, I had several requests for a copy of the script, so it&#8217;s easier if I just post it here, and point people to this post. The script is written in gawk and [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a bit of a stats reporter for <a href="spamassassin.apache.org/" target="_blank">Spam Assassin</a> recently for work. After posting the output on the SA mailing list, I had several requests for a copy of the script, so it&#8217;s easier if I just post it here, and point people to this post.</p>
<p>The script is written in gawk and is available here:</p>
<p><a href="/dl/sa-spam-stats.tar.gz">sa-spam-stats.tar.gz</a></p>
<p>I hope it&#8217;s of use to someone. If you want changes or have recommendations, please let me know.</p>
<p>Here is some example output:</p>
<p><img class="alignnone" title="Spam Assassin Stats Reporter output" src="http://i.imgur.com/bwI9k.png" alt="" width="291" height="296" /></p>



tell the internets:


	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwtf.geek.nz%2F2010%2F06%2Fspam-assassin-statistics-reporter%2F&amp;title=Spam%20Assassin%20statistics%20reporter" title="Reddit"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwtf.geek.nz%2F2010%2F06%2Fspam-assassin-statistics-reporter%2F&amp;title=Spam%20Assassin%20statistics%20reporter&amp;annotation=I%20wrote%20a%20bit%20of%20a%20stats%20reporter%20for%20Spam%20Assassin%20recently%20for%20work.%20After%20posting%20the%20output%20on%20the%20SA%20mailing%20list%2C%20I%20had%20several%20requests%20for%20a%20copy%20of%20the%20script%2C%20so%20it%27s%20easier%20if%20I%20just%20post%20it%20here%2C%20and%20point%20people%20to%20this%20post.%0D%0A%0D%0AThe%20scri" title="Google Bookmarks"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwtf.geek.nz%2F2010%2F06%2Fspam-assassin-statistics-reporter%2F&amp;title=Spam%20Assassin%20statistics%20reporter&amp;notes=I%20wrote%20a%20bit%20of%20a%20stats%20reporter%20for%20Spam%20Assassin%20recently%20for%20work.%20After%20posting%20the%20output%20on%20the%20SA%20mailing%20list%2C%20I%20had%20several%20requests%20for%20a%20copy%20of%20the%20script%2C%20so%20it%27s%20easier%20if%20I%20just%20post%20it%20here%2C%20and%20point%20people%20to%20this%20post.%0D%0A%0D%0AThe%20scri" title="del.icio.us"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwtf.geek.nz%2F2010%2F06%2Fspam-assassin-statistics-reporter%2F" title="Identi.ca"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwtf.geek.nz%2F2010%2F06%2Fspam-assassin-statistics-reporter%2F" title="Technorati"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Spam%20Assassin%20statistics%20reporter%20-%20http%3A%2F%2Fwtf.geek.nz%2F2010%2F06%2Fspam-assassin-statistics-reporter%2F" title="Twitter"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwtf.geek.nz%2F2010%2F06%2Fspam-assassin-statistics-reporter%2F&amp;title=Spam%20Assassin%20statistics%20reporter" title="StumbleUpon"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwtf.geek.nz%2F2010%2F06%2Fspam-assassin-statistics-reporter%2F&amp;title=Spam%20Assassin%20statistics%20reporter&amp;bodytext=I%20wrote%20a%20bit%20of%20a%20stats%20reporter%20for%20Spam%20Assassin%20recently%20for%20work.%20After%20posting%20the%20output%20on%20the%20SA%20mailing%20list%2C%20I%20had%20several%20requests%20for%20a%20copy%20of%20the%20script%2C%20so%20it%27s%20easier%20if%20I%20just%20post%20it%20here%2C%20and%20point%20people%20to%20this%20post.%0D%0A%0D%0AThe%20scri" title="Digg"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://wtf.geek.nz/feed/" title="RSS"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Spam%20Assassin%20statistics%20reporter&amp;body=http%3A%2F%2Fwtf.geek.nz%2F2010%2F06%2Fspam-assassin-statistics-reporter%2F" title="email"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://wtf.geek.nz/2010/06/spam-assassin-statistics-reporter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My week of cons</title>
		<link>http://wtf.geek.nz/2010/01/my-week-of-cons/</link>
		<comments>http://wtf.geek.nz/2010/01/my-week-of-cons/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 23:03:46 +0000</pubDate>
		<dc:creator>spiro</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[kapcon]]></category>
		<category><![CDATA[lca]]></category>
		<category><![CDATA[linux conf]]></category>
		<category><![CDATA[rpg]]></category>

		<guid isPermaLink="false">http://wtf.geek.nz/?p=85</guid>
		<description><![CDATA[Well, last week was pretty full-on. The weekdays were taken up by LCA 2010 (Linux Conf Australia), this year held in Wellington, and the weekend was KapCon XIX, one (and probably the biggest) of Wellington&#8217;s annual RPG conventions. Both were awesome. It was my second LCA (last year I went to the one in Hobart), [...]]]></description>
			<content:encoded><![CDATA[<p>Well, last week was pretty full-on. The weekdays were taken up by <a href="http://lca2010.org.nz">LCA 2010</a> (Linux Conf Australia), this year held in Wellington, and the weekend was <a href="http://kapcon.rpg.net.nz/">KapCon XIX</a>, one (and probably the biggest) of Wellington&#8217;s annual RPG conventions.</p>
<p>Both were awesome. It was my second LCA (last year I went to the one in Hobart), and it was my first KapCon.</p>
<p>The one thing I noticed at LCA, or rather noticed the lack of, was attendance by <a href="http://en.wikipedia.org/wiki/Linus_Torvalds" target="_blank">Linus</a>. He was at last year&#8217;s LCA, and he says he tries to make it out to all of them, but unfortunately he didn&#8217;t make it out this year (or stayed hidden, which isn&#8217;t likely).</p>
<p><span id="more-85"></span>This year&#8217;s LCA was very well organised, and the loot was really cool. One awesome man-bag, a super-sized coffee thermal mug thing, a cool t-shirt, and a few other random items &#8212; one of which amused me no end: a hand cleanser spray. Oh, and I won a VOIP phone in one of the morning prize draws &#8212; a <a href="http://www.snom.com/en/products/ip-phones/snom-300-ip-phone/" target="_blank">snom 300</a>. I have to go pick it up from Andrew Ruthven some time next week as he&#8217;s on holiday relaxing this week. They used those phones during the conference and gave four of them away as prizes. Guess it&#8217;ll motivate me to use the phone more often, or at least give me something safe to play with in front of others.</p>
<p>There&#8217;s not a lot I can say about the LCA, because it&#8217;s mostly high level (or I guess low-level in programming language terms using the closeness to the machine as lower levels), but one interesting talk was Rusty Russell&#8217;s talk on how to use a wii-mote to train your child hand-eye coordination. It was pretty hilarious, and included videos of his daughter with her modified scrunchie that packed a wii-mote sensor in it. When she moved her hands, stuff would happen on screen. Rusty had programmed some basic stuff in Python that moved eyes around the screen, and in one experiment designed a paint smearing program, but it turns out she might have been a bit too young. When she put the scrunchie on, she ended up waving the opposite hand. But she did notice that something she was doing was affecting something happening on the screen; she just wasn&#8217;t coordinated enough (or didn&#8217;t have the attention span) to focus on it. Most of the time, she&#8217;d notice that something was happening on-screen, then daddy would encourage her, and she&#8217;d turn to look at him rather than the screen. It was pretty hilarious, and not just because he wasted so much time coding just to be thwarted by by a user&#8230;</p>
<p>The other con I attended was KapCon &#8212; the first time for me ever. Even though this was the 19th KapCon, and I&#8217;ve been roleplaying for over 20 years, I just never went before. I think it&#8217;s because they started out in Kapiti, and I didn&#8217;t know they had moved to town. I wouldn&#8217;t have liked to drive for an hour each way before and after the con, especially with those early starts. But they&#8217;re hosting it now at Wellington High School, which is a good venue from the point of view that there are all separate rooms in which to game in. Having them all in one hall wouldn&#8217;t have worked very well because most gamers are quite loud.</p>
<p>I played in two RPGs and a few board and card games throughout the weekend. The RPGs were Paul Wilson&#8217;s game of Swashbucklers of the Seven Skies &#8212; a sci-fi pirate swashbuckling game &#8212; and an RPGA game which was pretty much old school D&amp;D dungeon hack &#8212; and unfortunately running 4th edition D&amp;D. It was actually a bit of fun (except for the munchkin who was trying to play everyone&#8217;s characters and who took loot without asking the party). I&#8217;m playing in a 4th ed game at the moment, but had to jump in at 7th level to fit alongside the other characters. D&amp;D isn&#8217;t the sort of game that&#8217;s conducive to jumping in so late and having to learn so much about your character&#8217;s abilities.</p>
<p>So I thought starting at 1st level might provide a different experience. And it actually did. I decided to jump in the deep end and try out a wizard, which would normally have worked out well&#8230; except I kept rolling fours. Yes, The Fours was with me that day. I ended up naming my character <em>Fumbledore</em>, because quite frankly he had trouble hitting the broad side of a tower while standing directly in front of it. Needless to say, hitting the skeletons, the wight, and the liche were quite beyond his capacity for quite a while.</p>
<p>That aside, it actually worked semi reasonably. Yes it&#8217;s a stupidly complex system, but if you start at level one, it&#8217;s probably a game you can grow into. Of course, I wouldn&#8217;t run a game of D&amp;D because I&#8217;m not insane, so I&#8217;m writing my own system, but that&#8217;s another story.</p>
<p>Speaking to the RPGA rep, she told me that the number of people playing RPGA games fell through the floor upon the introduction of 4th edition. And I think that she only ended up running two or three games over the whole weekend. Apparently with 3rd edition, there would be two reps running a game apiece for all six rounds. Actually I think there was another guy running RPGA games in another room, but whatever they were playing, the games were designed for 4-hour sessions, so were mis-timed for KapCon&#8217;s 3 hour sessions. I don&#8217;t know what they were doing though, as I never went into that room.</p>
<p>The upside of joining in an RPGA game is that you get a character that you can keep for use in other RPGA sanctioned games, and you get loot. Each player also received a free D&amp;D miniature, on top of the free D&amp;D miniature given to every con attendee.</p>
<p>Now the downside to playing board games and card games is that now I have stuff I am going to spend money on. I played a board game called Agricola, which seemed daunting at first but is actually very easy once you get started. It was described as &#8220;Pimp My Farm&#8221; &#8212; a game in which you have to build up a farm, plow some fields, and raise children to do more work. It&#8217;s a very good game, and can apparently be played single player, so that might be something to keep me warm on cold lonely nights.</p>
<p>Another game that I will definitely be getting is Munchkin. The <a href="http://www.sjgames.com/" target="_blank">Steve Jackson Games</a> rep (who was also one of the RPGA reps) ran a game of the wild west Munchkin game which was a blast. I&#8217;ll probably end up buying either the space version, or the original dungeon hack version, both of which look very appealing. Oh, it was funny to see <a href="http://catb.org/~esr/" target="_blank">Eric S. Raymond</a>&#8216;s name on the credits for the western Munchkin as having contributed or suggested some of the nasty card ideas.</p>
<p>So yeah, pretty interesting week. This week I&#8217;m hoping to get to AC/DC &#8212; one of the girls at my dad&#8217;s work has apparently got me a couple of free tickets, but my parents were away last week and she didn&#8217;t call me. Hopefully, with the concert being this Thursday, I&#8217;ll see her Wednesday..</p>
<p>This week is the <a href="http://www.nznog.org/" target="_blank">NZNOG</a> conference up in Hamilton, but because of my going to LCA, I&#8217;m skipping the NOG. Next year LCA is in Brisbane, and while it&#8217;d be nice to go there to see my cousin, the reality is that it&#8217;s fucking hot over there and I&#8217;d die. I&#8217;m not really enamoured by the idea of dying, so I&#8217;m going to have to at least give it some thought. The organisers, in their wisdom, decided to make it early February, which <a href="http://www.bbc.co.uk/weather/world/city_guides/results.shtml?tt=TT002970" target="_blank">apparently maxes</a> at 29ºC with humidity in the region of 69%. But from actual accounts, it hits the 30&#8242;s regularly. BBC reckon that&#8217;s medium discomfort due to heat; I&#8217;d hate to see a high discomfort area. :/</p>
<p>Could be interesting. Maybe I&#8217;ll pass up LCA next year and go to the NOG instead. If I go to Brisneyland, I&#8217;ll have to make a holiday of it and that&#8217;ll get expensive.</p>



tell the internets:


	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwtf.geek.nz%2F2010%2F01%2Fmy-week-of-cons%2F&amp;title=My%20week%20of%20cons" title="Reddit"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwtf.geek.nz%2F2010%2F01%2Fmy-week-of-cons%2F&amp;title=My%20week%20of%20cons&amp;annotation=Well%2C%20last%20week%20was%20pretty%20full-on.%20The%20weekdays%20were%20taken%20up%20by%20LCA%202010%20%28Linux%20Conf%20Australia%29%2C%20this%20year%20held%20in%20Wellington%2C%20and%20the%20weekend%20was%20KapCon%20XIX%2C%20one%20%28and%20probably%20the%20biggest%29%20of%20Wellington%27s%20annual%20RPG%20conventions.%0D%0A%0D%0ABoth%20were%20aweso" title="Google Bookmarks"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwtf.geek.nz%2F2010%2F01%2Fmy-week-of-cons%2F&amp;title=My%20week%20of%20cons&amp;notes=Well%2C%20last%20week%20was%20pretty%20full-on.%20The%20weekdays%20were%20taken%20up%20by%20LCA%202010%20%28Linux%20Conf%20Australia%29%2C%20this%20year%20held%20in%20Wellington%2C%20and%20the%20weekend%20was%20KapCon%20XIX%2C%20one%20%28and%20probably%20the%20biggest%29%20of%20Wellington%27s%20annual%20RPG%20conventions.%0D%0A%0D%0ABoth%20were%20aweso" title="del.icio.us"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwtf.geek.nz%2F2010%2F01%2Fmy-week-of-cons%2F" title="Identi.ca"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwtf.geek.nz%2F2010%2F01%2Fmy-week-of-cons%2F" title="Technorati"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=My%20week%20of%20cons%20-%20http%3A%2F%2Fwtf.geek.nz%2F2010%2F01%2Fmy-week-of-cons%2F" title="Twitter"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwtf.geek.nz%2F2010%2F01%2Fmy-week-of-cons%2F&amp;title=My%20week%20of%20cons" title="StumbleUpon"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwtf.geek.nz%2F2010%2F01%2Fmy-week-of-cons%2F&amp;title=My%20week%20of%20cons&amp;bodytext=Well%2C%20last%20week%20was%20pretty%20full-on.%20The%20weekdays%20were%20taken%20up%20by%20LCA%202010%20%28Linux%20Conf%20Australia%29%2C%20this%20year%20held%20in%20Wellington%2C%20and%20the%20weekend%20was%20KapCon%20XIX%2C%20one%20%28and%20probably%20the%20biggest%29%20of%20Wellington%27s%20annual%20RPG%20conventions.%0D%0A%0D%0ABoth%20were%20aweso" title="Digg"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://wtf.geek.nz/feed/" title="RSS"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=My%20week%20of%20cons&amp;body=http%3A%2F%2Fwtf.geek.nz%2F2010%2F01%2Fmy-week-of-cons%2F" title="email"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://wtf.geek.nz/2010/01/my-week-of-cons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a useful CentOS utility flash stick</title>
		<link>http://wtf.geek.nz/2009/12/useful-centos-utility-flash-stick/</link>
		<comments>http://wtf.geek.nz/2009/12/useful-centos-utility-flash-stick/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 01:36:06 +0000</pubDate>
		<dc:creator>spiro</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[livecd]]></category>

		<guid isPermaLink="false">http://wtf.geek.nz/wp/?p=4</guid>
		<description><![CDATA[At work we normally do all our CentOS builds using Kickstart and our own local mirrors. On top of which I built a couple of custom repositories &#8212; one for own own private software, and one for customer boxes (with software such as updated Sendmail, Clam AV, SpamAssassin, etc). That works very well, and a [...]]]></description>
			<content:encoded><![CDATA[<p>At <a href="http://www.knossos.net.nz" target="_blank">work</a> we normally do all our <a href="http://centos.org" target="_blank">CentOS</a> builds using Kickstart and our own local mirrors. On top of which I built a couple of custom repositories &#8212; one for own own private software, and one for customer boxes (with software such as updated Sendmail, Clam AV, SpamAssassin, etc).</p>
<p>That works very well, and a (reasonably performing) box takes about 5-10 minutes from plugging a flash stick in, to pulling it out and rebooting with a fresh OS install.</p>
<p>But one thing we&#8217;ve needed is to build a recovery stick for use on a customer&#8217;s site. The default LiveCDs are too bogged down with extraneous crap (like X for a start) to be of any use in the field, while the recovery option on an install CD suffers the opposite problem. I needed to build something that was the best of both worlds &#8212; it had to have heaps of tools on there and it had to boot quickly. On top of which we&#8217;ve got some custom stuff that would be useful to be able to carry around such as a custom version of gawk that has a lot of modules written by my boss, <a href="http://don.nz.net" target="_blank">Don</a>, such as file IO functions (ala libc), cgi, and more.</p>
<p>So I investigated building a flash image that would meet all our worldly desires.<br />
<span id="more-4"></span><br />
Accessible through CentOS is a LiveCD repo that can be used to build a LiveCD ISO image, which can in turn be written to a flash stick. You could just write the ISO image direct to CD if you like, but then you don&#8217;t get the persistent filesystem feature. In other words, you can set up &#8220;persistent&#8221; space so that any changes you make to the filesystem will be saved.</p>
<p>Doing it&#8217;s pretty simple. First add the LiveCD repo so yum can see it. Put this into <strong>/etc/yum.repos.d/centos-livecd.repo</strong>:</p>
<pre># Name: CentOS LiveCD repository
[livecd]
name = CentOS $releasever - LiveCD
baseurl = http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live
enabled=1
protect=0
gpgkey = http://www.nanotechnologies.qc.ca/propos/linux/RPM-GPG-KEY-PGuay</pre>
<p>Then run</p>
<pre>bash# yum install livecd-tools syslinux anaconda-runtime</pre>
<p>OK, so now you&#8217;ve got all the tools you need on your system. The two we&#8217;ll use are <strong>livecd-creator</strong> and <strong>livecd-iso-to-disk</strong>. It&#8217;s not a complicated process, but the one thing you will put some thought into is creating your kickstart file. Here&#8217;s mine:</p>
<pre>lang en_US.UTF-8
keyboard us
timezone US/Eastern
auth --useshadow --enablemd5
selinux --disabled
firewall --disabled

repo --name=a-base  --baseurl=http://foo.nz/centos-5.4-base/i386
repo --name=a-updates --baseurl=http://foo.nz/centos-5.4-updates/i386
#repo --name=a-extras --baseurl=http://mirror.centos.org/centos/5/extras/$basearch
repo --name=a-live --baseurl=http://www.nanotechnologies.qc.ca/propos/linux/centos-live/$basearch/live

%packages
bash
kernel
syslinux
passwd
policycoreutils
chkconfig
authconfig
rootfiles
comps-extras
xkeyboard-config
util-linux
vim-minimal
openssh-clients

# extras
dhclient
bind-utils
bzip2
bc
lsof
man
parted
pciutils
traceroute
dmraid
dump
ftp
man-pages
mdadm
mkbootdisk
mlocate
mtr
nc
nfs-utils
rsync
tcpdump
telnet
unzip
wget
time
which
zip
tar

# dev stuff
autoconf
automake
binutils
gcc
gcc-c++
gdb
gettext
libtool
make
pkgconfig
rpm-build
strace
elfutils
patchutils
python
perl
gawk</pre>
<p>This will create a LiveCD of about 180MB and will consume about 6-700MB unpacked in memory.</p>
<p>From there, you create the LiveCD ISO image:</p>
<pre>bash# LANG=C livecd-creator --config=centos-livecd-minimal.ks --fslabel=CentOS-minimal</pre>
<p>The <strong>&#8211;config</strong> parameter is the filename of the kickstart file you created above, and the <strong>&#8211;fslabel</strong> defines what your ISO image&#8217;s filename will be. For example, the one above will deposit a file in your current directory called <strong>Centos-minimal.iso</strong>.</p>
<p>This step take a frackin&#8217; long time. Or at least it did on the P3 devbox I was running it on. It looks like it&#8217;s dead but it&#8217;s not. Check top if you&#8217;re paranoid. SquishFS takes forever.</p>
<p>After that you want to put a flash stick in a USB hole. Mine had a FAT16 partition on it, and I left it as is. That partition does have to be bootable though.</p>
<pre>bash# livecd-iso-to-disk --overlay-size-mb 200 CentOS-minimal.iso /dev/sdb1</pre>
<p>That overlay is the size of the &#8220;persistent overlay&#8221; which defines how much space you&#8217;ve got to write to, basically. You can modify any files on the filesystem, or install new stuff or whatever you want. The bigger your memory stick, the bigger you can make this.</p>
<p>After that you&#8217;re done. This guy boots up in 30 seconds and leaves me at a fully functional prompt. We can futz with md devices, dmraid devices, roll a new initrd (which my boss has had the pleasure of having to do a few times on shitty Intel Matrix WinRAID shit), dump and restore stuff, ssh to boxes on the network, configure the network manually or via dhcp, it&#8217;s got GCC, python, perl, and gawk so we can write scripts onsite, and keep them on the stick.</p>



tell the internets:


	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwtf.geek.nz%2F2009%2F12%2Fuseful-centos-utility-flash-stick%2F&amp;title=How%20to%20make%20a%20useful%20CentOS%20utility%20flash%20stick" title="Reddit"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwtf.geek.nz%2F2009%2F12%2Fuseful-centos-utility-flash-stick%2F&amp;title=How%20to%20make%20a%20useful%20CentOS%20utility%20flash%20stick&amp;annotation=At%20work%20we%20normally%20do%20all%20our%20CentOS%20builds%20using%20Kickstart%20and%20our%20own%20local%20mirrors.%20On%20top%20of%20which%20I%20built%20a%20couple%20of%20custom%20repositories%20--%20one%20for%20own%20own%20private%20software%2C%20and%20one%20for%20customer%20boxes%20%28with%20software%20such%20as%20updated%20Sendmail%2C%20C" title="Google Bookmarks"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwtf.geek.nz%2F2009%2F12%2Fuseful-centos-utility-flash-stick%2F&amp;title=How%20to%20make%20a%20useful%20CentOS%20utility%20flash%20stick&amp;notes=At%20work%20we%20normally%20do%20all%20our%20CentOS%20builds%20using%20Kickstart%20and%20our%20own%20local%20mirrors.%20On%20top%20of%20which%20I%20built%20a%20couple%20of%20custom%20repositories%20--%20one%20for%20own%20own%20private%20software%2C%20and%20one%20for%20customer%20boxes%20%28with%20software%20such%20as%20updated%20Sendmail%2C%20C" title="del.icio.us"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwtf.geek.nz%2F2009%2F12%2Fuseful-centos-utility-flash-stick%2F" title="Identi.ca"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwtf.geek.nz%2F2009%2F12%2Fuseful-centos-utility-flash-stick%2F" title="Technorati"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=How%20to%20make%20a%20useful%20CentOS%20utility%20flash%20stick%20-%20http%3A%2F%2Fwtf.geek.nz%2F2009%2F12%2Fuseful-centos-utility-flash-stick%2F" title="Twitter"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwtf.geek.nz%2F2009%2F12%2Fuseful-centos-utility-flash-stick%2F&amp;title=How%20to%20make%20a%20useful%20CentOS%20utility%20flash%20stick" title="StumbleUpon"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwtf.geek.nz%2F2009%2F12%2Fuseful-centos-utility-flash-stick%2F&amp;title=How%20to%20make%20a%20useful%20CentOS%20utility%20flash%20stick&amp;bodytext=At%20work%20we%20normally%20do%20all%20our%20CentOS%20builds%20using%20Kickstart%20and%20our%20own%20local%20mirrors.%20On%20top%20of%20which%20I%20built%20a%20couple%20of%20custom%20repositories%20--%20one%20for%20own%20own%20private%20software%2C%20and%20one%20for%20customer%20boxes%20%28with%20software%20such%20as%20updated%20Sendmail%2C%20C" title="Digg"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://wtf.geek.nz/feed/" title="RSS"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=How%20to%20make%20a%20useful%20CentOS%20utility%20flash%20stick&amp;body=http%3A%2F%2Fwtf.geek.nz%2F2009%2F12%2Fuseful-centos-utility-flash-stick%2F" title="email"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://wtf.geek.nz/2009/12/useful-centos-utility-flash-stick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Darl McBride has been fired from SCO&#8230;</title>
		<link>http://wtf.geek.nz/2009/10/darl-mcbride-has-been-fired-from-sco/</link>
		<comments>http://wtf.geek.nz/2009/10/darl-mcbride-has-been-fired-from-sco/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 20:01:22 +0000</pubDate>
		<dc:creator>spiro</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[darl]]></category>
		<category><![CDATA[fiasco]]></category>
		<category><![CDATA[litigation scam]]></category>
		<category><![CDATA[mcbride]]></category>
		<category><![CDATA[sco]]></category>

		<guid isPermaLink="false">http://wtf.geek.nz/wp/?p=31</guid>
		<description><![CDATA[Several years too late as far as I&#8217;m concerned. Ars Technica has the story that covers McBride&#8217;s dismissal. A nice quote from the article: &#8220;Even after SCO&#8217;s deception was exposed and the company effectively lost its case, Darl McBride continued to insist that the company has evidence of System V code in Linux. No such [...]]]></description>
			<content:encoded><![CDATA[<p>Several years too late as far as I&#8217;m concerned. Ars Technica has the story that covers <a href="http://arstechnica.com/open-source/news/2009/10/sco-fires-ceo-darl-mcbride-architect-of-litigation-strategy.ars">McBride&#8217;s dismissal</a>.</p>
<p>A nice quote from the article:</p>
<ul>&#8220;<font color=darkred>Even after SCO&#8217;s deception was exposed and the company effectively lost its case, Darl McBride continued to insist that the company has evidence of System V code in Linux. No such evidence has been presented and McBride&#8217;s argument directly contradicts testimony given by other SCO executives. McBride&#8217;s stubborn detachment from reality has made him a subject of ridicule in the Linux community.</font>&#8220;</ul>
<p>In the wake of the disastrous attempt at litigation against everyone and their dog, SCO expect to &#8220;restructure&#8221; and continue to grow their UNIX business as if nothing had ever happened, but I think that irreparable damage has been done to them and their brand by McBride.</p>



tell the internets:


	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwtf.geek.nz%2F2009%2F10%2Fdarl-mcbride-has-been-fired-from-sco%2F&amp;title=Darl%20McBride%20has%20been%20fired%20from%20SCO..." title="Reddit"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwtf.geek.nz%2F2009%2F10%2Fdarl-mcbride-has-been-fired-from-sco%2F&amp;title=Darl%20McBride%20has%20been%20fired%20from%20SCO...&amp;annotation=Several%20years%20too%20late%20as%20far%20as%20I%27m%20concerned.%20Ars%20Technica%20has%20the%20story%20that%20covers%20McBride%27s%20dismissal.%0D%0A%0D%0AA%20nice%20quote%20from%20the%20article%3A%0D%0A%0D%0A%22Even%20after%20SCO%27s%20deception%20was%20exposed%20and%20the%20company%20effectively%20lost%20its%20case%2C%20Darl%20McBride%20continued" title="Google Bookmarks"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwtf.geek.nz%2F2009%2F10%2Fdarl-mcbride-has-been-fired-from-sco%2F&amp;title=Darl%20McBride%20has%20been%20fired%20from%20SCO...&amp;notes=Several%20years%20too%20late%20as%20far%20as%20I%27m%20concerned.%20Ars%20Technica%20has%20the%20story%20that%20covers%20McBride%27s%20dismissal.%0D%0A%0D%0AA%20nice%20quote%20from%20the%20article%3A%0D%0A%0D%0A%22Even%20after%20SCO%27s%20deception%20was%20exposed%20and%20the%20company%20effectively%20lost%20its%20case%2C%20Darl%20McBride%20continued" title="del.icio.us"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fwtf.geek.nz%2F2009%2F10%2Fdarl-mcbride-has-been-fired-from-sco%2F" title="Identi.ca"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwtf.geek.nz%2F2009%2F10%2Fdarl-mcbride-has-been-fired-from-sco%2F" title="Technorati"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Darl%20McBride%20has%20been%20fired%20from%20SCO...%20-%20http%3A%2F%2Fwtf.geek.nz%2F2009%2F10%2Fdarl-mcbride-has-been-fired-from-sco%2F" title="Twitter"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwtf.geek.nz%2F2009%2F10%2Fdarl-mcbride-has-been-fired-from-sco%2F&amp;title=Darl%20McBride%20has%20been%20fired%20from%20SCO..." title="StumbleUpon"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwtf.geek.nz%2F2009%2F10%2Fdarl-mcbride-has-been-fired-from-sco%2F&amp;title=Darl%20McBride%20has%20been%20fired%20from%20SCO...&amp;bodytext=Several%20years%20too%20late%20as%20far%20as%20I%27m%20concerned.%20Ars%20Technica%20has%20the%20story%20that%20covers%20McBride%27s%20dismissal.%0D%0A%0D%0AA%20nice%20quote%20from%20the%20article%3A%0D%0A%0D%0A%22Even%20after%20SCO%27s%20deception%20was%20exposed%20and%20the%20company%20effectively%20lost%20its%20case%2C%20Darl%20McBride%20continued" title="Digg"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://wtf.geek.nz/feed/" title="RSS"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Darl%20McBride%20has%20been%20fired%20from%20SCO...&amp;body=http%3A%2F%2Fwtf.geek.nz%2F2009%2F10%2Fdarl-mcbride-has-been-fired-from-sco%2F" title="email"><img src="http://wtf.geek.nz/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://wtf.geek.nz/2009/10/darl-mcbride-has-been-fired-from-sco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
