<?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>dragffy.com &#187; Operating System</title>
	<atom:link href="http://dragffy.com/blog/posts/tag/operating-system/feed" rel="self" type="application/rss+xml" />
	<link>http://dragffy.com/blog</link>
	<description>The development, documentation, and blogging domain of Gabriel Dragffy.</description>
	<lastBuildDate>Wed, 16 Nov 2011 11:17:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Keeping user data seperate from system data on Apple OS X</title>
		<link>http://dragffy.com/blog/posts/keeping-user-data-seperate-from-system-data-on-apple-os-x</link>
		<comments>http://dragffy.com/blog/posts/keeping-user-data-seperate-from-system-data-on-apple-os-x#comments</comments>
		<pubDate>Mon, 25 Feb 2008 12:54:13 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tiger]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/posts/keeping-user-data-seperate-from-system-data-on-apple-os-x</guid>
		<description><![CDATA[One of the things I grew to like about Linux was the /home directory. Any data for a user was always stored there. Furthermore, you could easily have that home directory on a different disc so when you deleted your system, you didn&#8217;t lose your user data too. Under Windows I did the same thing [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I grew to like about Linux was the /home directory. Any data for a user was always stored there. Furthermore, you could easily have that home directory on a different disc so when you deleted your system, you didn&#8217;t lose your user data too.</p>
<p><span id="more-18"></span></p>
<p>Under Windows I did the same thing by relocating &#8216;My Documents&#8217; but it was never very succesful because remnants of your data always remained intermingled with the system. Having moved to OS X I found the default installation was to dump everything on one partition. OS X is a superior system and doesn&#8217;t suffer as badly , but you are still inconvenienced  if you want to reformat and start afresh.</p>
<p>I did read several articles on the net about keeping your user data seperate, but all were complicated. I have developed a method that is very safe and easy to do. You will need to use the Terminal application to type several commands.</p>
<p>The easiest way to go about this is to wait until you are ready to reformat again. Make sure you <strong>BACKUP ALL YOUR DATA ON TO AN EXERNAL DRIVE</strong>. Restart with the installation disc. Once it starts up go to Utilities and choose Disk Utility.  From the left pane select your internal hard drive in my case &#8220;74.5GB ST98823AS&#8221; and now you can choose the &#8220;Partition&#8221; tab. Under &#8220;volume scheme&#8221; choose a 2 partition layout. It will now show your disc split in two at about half way, drag the slider up/down so that you end up giving about 20GB to the top part. This is where your system and applications will be installed. Name the paritions if you so wish and apply changes. Then continue the installation as normal.</p>
<p>When you boot in to your new system start up the Terminal application. What follows next are some commands for you to type in to the terminal. These will be run as a super-user (hence sudo) and will require you to enter your password to execute properly. Ensure you get these commands correct as you will regret doing a rush-job here. Firstly, you should remember how you named your partitions, if you can&#8217;t remember then have a look in Finder. Or even better: type the following in the terminal:</p>
<p><code>ls /Volumes</code></p>
<p>I will refer to the paritions as &#8220;system&#8221; and &#8220;userpart&#8221;, replace these with the correct names of your partitions. Now, move your user folders off the system partition on to userpart:</p>
<p><code>sudo mv /Volumes/system/Users/ /Volumes/userpart/</code></p>
<p>Then move the old &#8220;Users&#8221; folder out of the way, and create a link back to it:</p>
<p><code>sudo mv /Users /Users.bk<br />
sudo ln -s /Volumes/userpart/Users /Users</code></p>
<p>What you have done is to move the Users directory on to another partition and then create a softlink back to it. This means that all applications and OS X will still continue to use /Users on the system drive, but that just points to the user drive. The advantage is you don&#8217;t need to perform any special configuration to inform OS X or your applications of the change, they are unware of any change.</p>
<p>If you have any problems don&#8217;t blame me!</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/keeping-user-data-seperate-from-system-data-on-apple-os-x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting A Directory in Two or More Places without copying (for Linux)</title>
		<link>http://dragffy.com/blog/posts/mounting-a-directory-in-two-or-more-places-without-copying-for-linux</link>
		<comments>http://dragffy.com/blog/posts/mounting-a-directory-in-two-or-more-places-without-copying-for-linux#comments</comments>
		<pubDate>Sat, 01 Sep 2007 16:03:45 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[Operating System]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/posts/mounting-a-directory-in-two-or-more-places-without-copying-for-linux</guid>
		<description><![CDATA[Have you ever wanted to show the contents of another user&#8217;s directory in a folder of your own? Or perhaps for whatever reason wanted to have the contents of a directory in two places at once, but without copying across? Well in Linux there is a way. Directories can be bound to other directories. The [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever wanted to show the contents of another user&#8217;s directory in a folder of your own? Or perhaps for whatever reason wanted to have the contents of a directory in two places at once, but without copying across? Well in Linux there is a way. Directories can be bound to other directories. The contents of one directory shows up in another, change one, and you change them both. Say for example you had the following directory <code>/usr/home/fred</code> but you wanted it to appear in Tom&#8217;s home directory also. <span id="more-9"></span>First you need to create the destination folder that you will later bind the directory to:</p>
<p><code>mkdir /usr/home/tom/freds_folder</code></p>
<p>Now we use the <code>mount</code> command with the bind option to bind Fred&#8217;s folder in to the folder inside Tom&#8217;s home directory:</p>
<p><code>mount -o bind /usr/home/fred /usr/home/tom/freds_folder</code></p>
<p>Voilla! You now have the same folder in two locations. Just remember that the permissions will stay exactly the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/mounting-a-directory-in-two-or-more-places-without-copying-for-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

