<?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>spacebeast &#187; nerdery</title>
	<atom:link href="http://spacebeast.com/blog/category/nerdery/feed/" rel="self" type="application/rss+xml" />
	<link>http://spacebeast.com/blog</link>
	<description>By, for and about beasts from space</description>
	<lastBuildDate>Wed, 05 Oct 2011 23:28:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Eliminating Annoying Backup Drive Spin-Up</title>
		<link>http://spacebeast.com/blog/2010/05/19/elininating-annoying-backup-drive-spin-up/</link>
		<comments>http://spacebeast.com/blog/2010/05/19/elininating-annoying-backup-drive-spin-up/#comments</comments>
		<pubDate>Thu, 20 May 2010 03:43:50 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[nerdery]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://spacebeast.com/blog/?p=138</guid>
		<description><![CDATA[Do you suffer from spin-up wait times as OS X&#8217;s Finder attempts to access your idle external backup drive when you open up a file selection dialog box? Those seconds can add up &#8211; but wait no more, a solution is at hand! I have SuperDuper! (recommended!) scheduled to do a nightly backup of my [...]]]></description>
			<content:encoded><![CDATA[<p>Do you suffer from spin-up wait times as OS X&#8217;s Finder attempts to access your idle external backup drive when you open up a file selection dialog box? Those seconds can add up &#8211; but wait no more, a solution is at hand!</p>
<p><span id="more-138"></span></p>
<p>I have <a href="http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html">SuperDuper!</a> (recommended!) scheduled to do a nightly backup of my primary drive onto an external Seagate FreeAgent drive. The drive conveniently spins down to reduce wear and power consumption after being idle for a few minutes. However, since it is left mounted for the backup to run, the Finder feels the need to access it occasionally, incurring a few seconds of spinning beach-ball time.</p>
<p>The solution is to leave the external drive unmounted, and mount it only while the backup is running. You&#8217;re also free to mount it yourself whenever you like using the Disk Utility application.</p>
<p>The first thing you&#8217;ll need to do is to figure out what the UUID of the backup volume is. Run &#8220;<code>diskutil list</code>&#8221; from the Terminal&#8217;s command line, and find the volume you&#8217;re interested in. In my case the one I was looking for was the second partition, /dev/disk1s2:</p>
<pre>
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                  Apple_HFS FreeAgent Drive         999.9 GB   disk1s2
</pre>
<p>Now get the volume&#8217;s UUID with &#8220;<code>diskutil info /dev/disk1s2</code>&#8221; &#8211; you&#8217;ll see a &#8220;Volume UUID&#8221; line with a large hexadecimal number like this:</p>
<pre>
   Volume UUID:              01234567-890A-BCDE-F012-34567890ABCD
</pre>
<p>In the example above, the value &#8220;01234567-890A-BCDE-F012-34567890ABCD&#8221; is what we&#8217;re looking for.</p>
<p>In order for OS X (this post refers to 10.6) to ignore the backup drive on startup, you&#8217;ll have to tell it not to mount it. Even though it doesn&#8217;t create the file by default, OS X will use mount parameters from the file system table in the old familiar /etc/fstab file. The one we want is &#8220;noauto&#8221; and you can specify the disk to apply it to with the UUID you found above. Create the /etc/fstab file and add a line like the following to it:</p>
<pre>
UUID=01234567-890A-BCDE-F012-34567890ABCD none hfs rw,noauto
</pre>
<p>Here we&#8217;re specifying the backup volume with the UUID, &#8220;none&#8221; is the mount point so that OS X will mount it in <code>/Volumes</code> where you&#8217;re used to seeing it, and &#8220;hfs&#8221; is the filesystem type. The mount parameters &#8220;rw&#8221; and &#8220;noauto&#8221; specify that the volume is to be mounted writable, but not to mount it automatically at boot time.</p>
<p>The final step is to tell the backup system to mount and unmount the volume prior to and following the backup. OS X&#8217;s diskutil can mount disks using the UUID, so to mount the drive:</p>
<pre>
/usr/sbin/diskutil mountDisk 01234567-890A-BCDE-F012-34567890ABCD
</pre>
<p>and to unmount it:</p>
<pre>
/usr/sbin/diskutil unmountDisk 01234567-890A-BCDE-F012-34567890ABCD
</pre>
<p>SuperDuper! has an &#8220;advanced&#8221; option to run shell scripts before and after the backup is run, so that&#8217;s where I put those commands.</p>
<p>Now you can unmount your backup drive and you&#8217;ll no longer have to suffer through that agonizing few seconds of waiting for the Finder to uselessly spin it up! Not only that, but you&#8217;ll save wear and tear on your backup drive because it isn&#8217;t constantly spinning up and down.</p>
]]></content:encoded>
			<wfw:commentRss>http://spacebeast.com/blog/2010/05/19/elininating-annoying-backup-drive-spin-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Streaming CBC Radio Live in iTunes</title>
		<link>http://spacebeast.com/blog/2009/05/25/streaming-cbc-radio-in-itunes/</link>
		<comments>http://spacebeast.com/blog/2009/05/25/streaming-cbc-radio-in-itunes/#comments</comments>
		<pubDate>Tue, 26 May 2009 02:34:44 +0000</pubDate>
		<dc:creator>Barry</dc:creator>
				<category><![CDATA[nerdery]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[canada]]></category>
		<category><![CDATA[cbc]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[radio]]></category>
		<category><![CDATA[stream]]></category>

		<guid isPermaLink="false">http://spacebeast.com/blog/?p=123</guid>
		<description><![CDATA[Last week CBC radio&#8217;s streaming feed stopped working on my Mac, and it turns out they changed their streaming format and switched to the Abacast CDN. Their stream used to be in WMV format, but now they&#8217;re sending MP3. Unfortunately they haven&#8217;t updated their instructions for OS X on their stream page yet. Flip4Mac is [...]]]></description>
			<content:encoded><![CDATA[<p>Last week CBC radio&#8217;s streaming feed stopped working on my Mac, and it turns out they changed their streaming format and switched to the Abacast CDN.  Their stream used to be in WMV format, but now they&#8217;re sending MP3.  Unfortunately they haven&#8217;t updated their instructions for OS X on their <a href="http://www.cbc.ca/listen">stream page</a> yet.  Flip4Mac is no longer required, and iTunes can open the stream directly (yay!).  Here&#8217;s how to set up the new stream using Firefox (Safari should be similar):</p>
<ol>
<li>Open the stream you want from the list on their <a href="http://www.cbc.ca/listen">&#8220;Listen&#8221; page</a>.</li>
<li>In the popup window, click the link for the stream bit rate you want.</li>
<li>Right click on the popup window, and select &#8220;View Page Info&#8221; from the context menu.</li>
<li>Click on the &#8220;Media&#8221; tab and copy down the &#8220;embed&#8221; URL.  In my case it is http://icy1.abacast.com/cbc-r1vancouver-96.</li>
<li>Create a plain text file called &#8220;cbc.m3u&#8221; containing only the URL from the previous step.  Here is <a href='http://spacebeast.com/blog/wp-content/uploads/2009/05/cbc.m3u'>mine</a>.  Alternatively you can press command-U to play the stream directly.</li>
<li>Drag the file you created into iTunes, and you&#8217;re done!</li>
</ol>
<p>Update: CBC has updated their stream links page, and the URLs they supply seem to work now.  Continue to ignore the Flip4Mac instructions on the <a href="http://www.cbc.ca/listen">&#8220;Listen&#8221; page</a> though.</p>
<p>Update (June 1, 2011): Darn, they broke things again. CBC now appears to be streaming their radio content using services from streamtheworld.com, which encapsulates the MP3 stream in a FLV container for playing in a Flash player. When I figure out how to get it working again I&#8217;ll post. With some difficulty, I&#8217;ve extracted the playlist for Vancouver&#8217;s Radio One live stream. In iTunes, select &#8220;Advanced|Open Stream&#8230;&#8221; and paste in the following URL: <a href="http://2513.live.streamtheworld.com:80/CBC_R1_VCR_H_SC ">http://2513.live.streamtheworld.com:80/CBC_R1_VCR_H_SC</a>.</p>
<p>Update (June 24, 2011): See Charles&#8217; comments below for links to CBC&#8217;s updated lists of Radio 1, 2, and 3 stream URLs. </p>
]]></content:encoded>
			<wfw:commentRss>http://spacebeast.com/blog/2009/05/25/streaming-cbc-radio-in-itunes/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
<enclosure url="http://spacebeast.com/blog/wp-content/uploads/2009/05/cbc.m3u" length="80" type="audio/x-mpegurl" />
		</item>
	</channel>
</rss>

