<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>Stephen Foskett, Pack Rat &#187; NTFS-3G Archives  &#8211; Stephen Foskett, Pack Rat</title>
	<atom:link href="http://blog.fosketts.net/tag/ntfs-3g/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fosketts.net</link>
	<description>Understanding the accumulation of data</description>
	<lastBuildDate>Fri, 10 Feb 2012 17:40:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
			<item>
		<title>How To Write To Windows NTFS Drives In Mac OS X 10.6 &#8220;Snow Leopard&#8221;</title>
		<link>http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/</link>
		<comments>http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 16:19:42 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[10.3]]></category>
		<category><![CDATA[10.6]]></category>
		<category><![CDATA[Dave Cutler]]></category>
		<category><![CDATA[fstab]]></category>
		<category><![CDATA[GoFlex]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[mount_ntfs]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[NTFS-3G]]></category>
		<category><![CDATA[Panther]]></category>
		<category><![CDATA[Paragon]]></category>
		<category><![CDATA[Seagate]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=4420</guid>
		<description><![CDATA[One of the daily hassles of using Apple Macintosh computers is the incompatibilities that arise with the broad Microsoft Windows world. Individual files often require conversion, but what about whole disks? Apple has long supported the universal and simplistic FAT filesystem, and added read-only support for NTFS back in 2003 in OS X 10.3 "Panther". Third-party software like Paragon's NTFS or the free NTFS-3G driver enabled read/write support, but a native solution was more desirable. Although 10.6 "Snow Leopard" includes NTFS write support, it is disabled by default. In this post, I'll discuss methods for activating this native NTFS write support, as well as the pros and cons of doing so!]]></description>
			<content:encoded><![CDATA[<p>One of the daily hassles of using Apple Macintosh computers is the incompatibilities that arise with the broad Microsoft Windows world. Individual files often require conversion, but what about whole disks? Apple has long supported the universal and simplistic FAT filesystem, and added read-only support for NTFS back in 2003 in OS X 10.3 &#8220;Panther&#8221;. Third-party software like Paragon&#8217;s NTFS or the free NTFS-3G driver enabled read/write support, but a native solution was more desirable. Although 10.6 &#8220;Snow Leopard&#8221; includes NTFS write support, it is disabled by default. In this post, I&#8217;ll discuss methods for activating this native NTFS write support, as well as the pros and cons of doing so!</p>
<h3>Introducing NTFS</h3>
<p>A filesystem is the basic scheme for organizing data on a hard disk drive. The common FAT filesystem, supported by just about every operating system, is just too basic for modern operating systems. Microsoft introduced the advanced NTFS filesystem with their Windows NT operating system in 1993. Borrowing from OS/2&#8242;s HPFS and VMS&#8217; Files-11, NTFS is a <a rel="nofollow" href="http://en.wikipedia.org/wiki/Journalling_filesystem" >journalling filesystem</a> with many features, including <a rel="nofollow" href="http://en.wikipedia.org/wiki/POSIX" >POSIX</a> links, <a rel="nofollow" href="http://en.wikipedia.org/wiki/Fork_(filesystem)" >alternate data streams</a>, <a rel="nofollow" href="http://en.wikipedia.org/wiki/Sparse_file" >sparse files</a>, <a rel="nofollow" href="http://en.wikipedia.org/wiki/Data_compression" >compression</a>, and <a rel="nofollow" href="http://en.wikipedia.org/wiki/Encrypting_File_System" >encryption.</a></p>
<p>Although just about everything Microsoft produces is maligned by UNIX and Mac geeks, this hatred is unwarranted in the case of the many storage advances coming out of Redmond. Microsoft may be fairly criticized for producing expensive, proprietary systems, but they have dome some amazing things with disks, and NTFS is arguably one of the most advanced filesystems in wide usage. Much of this credit goes to Windows NT architect <a rel="nofollow" href="http://en.wikipedia.org/wiki/Dave_Cutler"  target="_blank">Dave Cutler</a>, who also led development of DEC VMS, the RISC concepts that became <a rel="nofollow" href="http://en.wikipedia.org/wiki/DEC_Alpha"  target="_blank">Alpha</a>, and Microsoft&#8217;s <a rel="nofollow" href="http://en.wikipedia.org/wiki/Azure_Services_Platform"  target="_blank">Azure</a> cloud platform.</p>
<p>Although every version of Windows supports evolutions of the old FAT filesystem, modern iterations increasingly require NTFS. Windows XP allowed either FAT32 or NTFS for booting; Windows Vista could be forced to boot from FAT32; Windows 7 requires NTFS. Therefore, most PC hard disk drives, including external USB drives, now come formatted with NTFS by default.</p>
<h3>NTFS on Mac OS X</h3>
<p>This leads to issues for Mac users, especially when they dual-boot with Boot Camp or buy external hard disk drives. As mentioned, all versions of Mac OS X since 10.3 &#8220;Panther&#8221; have included read-only NTFS support, but those wanting full access had two options:</p>
<ol>
<li><a href="http://www.paragon-software.com/home/ntfs-mac/"  target="_blank">Paragon Software&#8217;s</a> NTFS for Mac OS X is a full and supported read/write solution. Although available for purchase separately, many hard disk drives like the <a rel="nofollow" href="http://www.amazon.com/Seagate-FreeAgent-Ultra-Portable-External-STAA1000100/dp/B003ELOSI2%3FSubscriptionId%3DAKIAJYEMQAFREVFYOMPQ%26tag%3DPackrat-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB003ELOSI2" >Seagate GoFlex</a> now include a free copy of Paragon NTFS.</li>
<li>The open source <a href="http://www.tuxera.com/community/ntfs-3g-download/"  target="_blank">NTFS-3G</a> driver has also been ported to Mac OS X, allowing read/write support for free.</li>
</ol>
<p>Mac OS X 10.6 &#8220;Snow Leopard&#8221; adds a third alternative: Native read/write support for NTFS. But it&#8217;s not as simple as that. Although early betas enabled read/write support by default, it was limited once again to read-only in the final releases.</p>
<p>It is possible and even simple) to enable read/write support with the native Snow Leopard drivers, but this is definitely an &#8220;at your own risk&#8221; proposition. Users have reported kernel panics when using these methods, and although I have not heard of data corruption, it is possible as well.</p>
<h3>The Manual Method: mount_ntfs</h3>
<p>Making disks available is called &#8220;mounting&#8221; in UNIX geek-speak, and mount commands in modern operating systems are <a rel="nofollow" href="http://www.youtube.com/watch?v=kZnztwiWZo4"  target="_blank">like ogres</a>: They have many layers. Plug in a drive, and Mac OS X makes it available for you using a layer cake of commands, but the bottom-most command is &#8220;mount&#8221;. This simple command-line utility takes a few arguments and attaches a raw disk device to a point in the unified filesystem tree.</p>
<p>When presented an NTFS drive, Mac OS X calls a utility called mount_ntfs that resides in the /sbin directory, and we can call it, too. Although OS X always tells mount_ntfs to mount NTFS drives read-only, we can tell it to enable writing as well by using the &#8220;-o rw&#8221; flag.</p>
<p>There&#8217;s just one problem: Where should we connect the NTFS file system? Mac OS X automatically creates a new directory (called a &#8220;mount point&#8221; in UNIX-speak) in /Volumes with the name of the filesystem. For example, the GoFlex drive I bought yesterday mounts as &#8220;/Volumes/FreeAgent GoFlex Drive&#8221; by default. But mount_ntfs won&#8217;t create this mount point, so we have to do it.</p>
<p>Here are the steps to mount an NTFS drive read/write from the command line:</p>
<ol>
<li>Plug in the drive and let Mac OS X mount it read-only.</li>
<li>Look in Finder to see the name of the drive. For example, my drive mounts with the name &#8220;FreeAgent GoFlex Drive&#8221; and this is what shows up on the desktop and in Frinder under &#8220;Devices&#8221;.</li>
<li>Open the Terminal application to get command-line access. We&#8217;ll use &#8220;sudo&#8221; which executes commands as the administrator instead of a regular user.</li>
<li>Type the following command in Terminal to get necessary information about the drive. Use the drive name you see in Finder in place of &#8220;drive name&#8221;, and make sure to use quotation marks around it since Terminal treats un-quoted spaces as separators rather than part of the name.
<pre>diskutil info "/Volumes/drive name"</pre>
</li>
<li>Record the &#8220;Device Node&#8221; entry, which will look something like &#8220;/dev/disk4s1&#8243;. This is where the raw partition is mapped by the disk subsystem, and where the filesystem driver will read its data.</li>
<div id="attachment_4421" class="wp-caption aligncenter" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://static.fosketts.net/wp-content/uploads/2010/11/Diskutil-info-GoFlex.png" ><img class="size-medium wp-image-4421" title="Diskutil info GoFlex" src="http://static.fosketts.net/wp-content/uploads/2010/11/Diskutil-info-GoFlex-300x246.png" alt="" width="300" height="246" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">The diskutil command gives us the &quot;Node Name&quot;, which we&#39;ll need momentarily</p></div>
<li>Eject the drive, using option-click in Finder or with the hdiutil command in Terminal:
<pre>hdiutil eject "/Volumes/drive name"</pre>
</li>
<li>Now you must create the mount point again. Type the following:
<pre>sudo mkdir "/Volumes/drive name"</pre>
</li>
<li>Finally, use mount_ntfs to mount the drive read/write using the following command. Use the node name you spotted above and the mount point you just created:
<pre>sudo mount_ntfs -o rw /dev/disk?s? "/Volumes/drive name"</pre>
</li>
<li>When you&#8217;re done, you can use the Finder, the hdiutil command, or just about anything else to eject the drive. Make sure your mount point is deleted as well!</li>
</ol>
<p>This method is great for occasional NTFS use, which is frankly all Mac users should need. If you intend to use a drive frequently, I highly recommend reformatting it with the native HFS+ filesystem since it will be fully-supported by the operating system.</p>
<h3>The Per-Drive Method</h3>
<p>Let&#8217;s say you have an NTFS drive you frequently need to mount read/write and find the above method too much of a hassle. Maybe it&#8217;s your Boot Camp drive, or perhaps it&#8217;s a USB hard disk drive you share with a Windows-using colleague. It is possible to tell Mac OS X to always mount a given NTFS drive read/write using its native driver using the following commands. However, I recommend investing in the Paragon driver for this use case, since it&#8217;s fully-supported!</p>
<p>Like all UNIX systems, Mac OS X uses a configuration file to determine what it should do with certain drives. This file, called &#8220;fstab&#8221; and located in &#8220;/etc&#8221;, is not present by default but will override the &#8220;read-only&#8221; flag on a per-drive basis if found. This allows a drive to always be mounted read/write without any hassle.</p>
<ol>
<li>Get the drive name as in step 2 above.</li>
<li>Open Terminal and type the following command to edit the /etc/fstab file:
<pre>sudo nano /etc/fstab</pre>
</li>
<div id="attachment_4422" class="wp-caption aligncenter" style="width: 310px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; display: block; margin-right: auto; margin-left: auto;"><a href="http://static.fosketts.net/wp-content/uploads/2010/11/Nano-fstab.png" ><img class="size-medium wp-image-4422" title="Nano fstab" src="http://static.fosketts.net/wp-content/uploads/2010/11/Nano-fstab-300x211.png" alt="" width="300" height="211" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Adding a line in /etc/fstab will make Mac OS X always mount a single drive in read/write mode</p></div>
<li>&#8220;Nano&#8221; is a command-line editing program. Add the following line to the file (and don&#8217;t forget the quotes around the drive name if it contains spaces!)
<pre>LABEL="drive name" none ntfs rw</pre>
</li>
<li>Now type control-x to save and exit, type y for yes, and hit enter.</li>
<li>After a reboot, Mac OS X should automatically mount any drive with that label as read/write</li>
</ol>
<p>Note that this can also be done using the NTFS UUID of the drive, but this isn&#8217;t present on every drive to LABEL works better. Also, some <a rel="nofollow" href="http://forums.macrumors.com/showthread.php?t=785376"  target="_blank">have reported</a> needing multiple reboots to make it work. I have no idea why.</p>
<h3>The Permanent Universal Method</h3>
<p>It is also <a href="http://blog.navisidhu.com/53-ntfs-write-snow-leopard/"  target="_blank">possible</a> to permanently modify how Mac OS X calls the mount_ntfs command to always mount every NTFS drive in read/write mode. Again, I will point out that this isn&#8217;t necessarily a great idea since Apple doesn&#8217;t support using the driver in this way. But here it is!</p>
<ol>
<li>Open Terminal. We won&#8217;t need the drive name or Node Name since this applies to every NTFS drive.</li>
<li>Rename the mount_ntfs command to something else by typing the following:
<pre>sudo mv /sbin/mount_ntfs /sbin/mount_ntfs_orig</pre>
</li>
<li>Create a shell script called mount_ntfs using the Nano editor:
<pre>sudo nano /sbin/mount_ntfs</pre>
</li>
<li>This script will simply call mount_ntfs with the &#8220;-o rw&#8221; flag every time it&#8217;s used. Type the following in Nano:
<pre>#!/bin/sh
/sbin/mount_ntfs_orig -o rw "$@"</pre>
</li>
<li>Type control-x to save and exit, type y for yes, and hit enter.</li>
<li>Now we&#8217;ll fix the permissions on this new file so it&#8217;s owned by root and group wheel:
<pre>sudo chown root:wheel /sbin/mount_ntfs</pre>
</li>
<li>Finally, we make the shell script executable:
<pre>sudo chmod 755 /sbin/mount_ntfs</pre>
</li>
<li>Now every time OS X encounters an NTFS drive, it will mount it read/write by calling this script rather than the &#8220;mount_ntfs&#8221; executable it thinks it&#8217;s using.</li>
</ol>
<p>Note that future OS updates might &#8220;break&#8221; this method by replacing the /sbin/mount_ntfs command, or it could cause other issues. But it works for now and doesn&#8217;t even require a reboot.</p>
<h3>Stephen&#8217;s Stance</h3>
<p>I&#8217;m hesitant to recommend that casual Mac users employ any of these methods to access NTFS drives. Each requires superuser access and careful typing. You can easily mess up your system this way, and unsupported uses of the NTFS driver might result in data loss.</p>
<p>If you aren&#8217;t comfortable with this kind of mucking-about or intend to frequently write to NTFS drives, I highly suggest installing NTFS-3G or Paragon&#8217;s NTFS driver. In fact, the best method is simply to go buy a <a rel="nofollow" href="http://www.amazon.com/Seagate-FreeAgent-Ultra-Portable-External-STAA1000100/dp/B003ELOSI2%3FSubscriptionId%3DAKIAJYEMQAFREVFYOMPQ%26tag%3DPackrat-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB003ELOSI2" >Seagate GoFlex drive</a> and use the Paragon driver that comes with it!</p>
<p>But hackers and geeks like me want to know how to do this. This is why I decided to document it here.<br />
<blockquote>Note: Some of these links include affiliate codes that help pay for this blog. For example, <a href="http://www.amazon.com/gp/product/B002Y27P3M?ie=UTF8&tag=packrat-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B002Y27P3M" target="_blank">buying an Amazon Kindle with this link</a> sends a few bucks my way! But I don't write this blog to make money, and am happy to link to sites and stores that don't pay anything. I like Amazon and buy tons from them, but you're free to buy whatever and wherever you want.</blockquote></p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/"  rel="bookmark" class="crp_title">Access NTFS Volumes On Your Mac</a></li><li><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/"  rel="bookmark" class="crp_title">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li><li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"  rel="bookmark" class="crp_title">Custom Drive Icons in Mac OS X</a></li><li><a href="http://blog.fosketts.net/2010/07/26/boot-snow-leopard-64bit-mode/"  rel="bookmark" class="crp_title">How To Boot Snow Leopard in 64-Bit Mode</a></li><li><a href="http://blog.fosketts.net/2008/07/31/windows-server-2008-changes-storage/"  rel="bookmark" class="crp_title">Windows Server 2008 Changes Storage</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2010. |
<a href="http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/">How To Write To Windows NTFS Drives In Mac OS X 10.6 &#8220;Snow Leopard&#8221;</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/apple/" title="View all posts in Apple" rel="category tag">Apple</a>, <a href="http://blog.fosketts.net/category/everything/personal/" title="View all posts in Personal" rel="category tag">Personal</a>, <a href="http://blog.fosketts.net/category/everything/terabytehome/" title="View all posts in Terabyte home" rel="category tag">Terabyte home</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Access NTFS Volumes On Your Mac</title>
		<link>http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/</link>
		<comments>http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 14:34:43 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[Boot Camp]]></category>
		<category><![CDATA[FUSE]]></category>
		<category><![CDATA[Giveaway-of-the-Day]]></category>
		<category><![CDATA[HFS]]></category>
		<category><![CDATA[Macports]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[NTFS-3G]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Paragon]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=2169</guid>
		<description><![CDATA[I've been using the NTFS-3G driver myself for quite some time. It works as advertised: Install it and you can read and write to NTFS-formatted drives with ease. These drives are integrated right into the Finder, appearing just like Mac-standard HFS+ disks. This is the method I used to assign custom drive icon for my Boot Camp volume and USB drives, for example.]]></description>
			<content:encoded><![CDATA[<p>Most Mac switchers still have some Windows NTFS-formatted drives around. Maybe it&#8217;s an external USB disk. Or maybe you&#8217;re using Boot Camp. Whatever the reason, Mac users often want to <strong>access NTFS volumes within OS X</strong>. There are two popular ways to accomplish this:</p>
<ol>
<li>Use the excellent and free <strong>NTFS-3G</strong> driver</li>
<li>Buy Paragon Software&#8217;s <strong>Paragon NTFS</strong></li>
</ol>
<p>I&#8217;ve been using the <a href="http://www.ntfs-3g.org/"  target="_blank">NTFS-3G driver</a> myself for quite some time. It works as advertised: Install it and you can read and write to NTFS-formatted drives with ease. These drives are integrated right into the Finder, appearing just like Mac-standard HFS+ disks. This is the method I used to <a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/"  target="_self">assign custom drive icon for my Boot Camp volume and USB drives</a>, for example.</p>
<blockquote><p>Note: Snow Leopard&#8217;s NTFS driver is read/write capable. See my post, <a href="http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/" >How To Write To Windows NTFS Drives In Mac OS X 10.6 “Snow Leopard”</a></p></blockquote>
<p><blockquote><p>This post is part of my series focused on Apple OS X tips and tricks.</p>

<ul>
		<li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/">Access NTFS Volumes On Your Mac</a></li>
		<li><a href="http://blog.fosketts.net/2009/01/19/clean-up-mac-disk-tools/">Clean Up Your Mac! Essential OS X Tidiness Tools and Techniques</a></li>
		<li><a href="http://blog.fosketts.net/2008/07/26/move-os-x-time-machine-backups-new-disk/">How To Move OS X Time Machine Backups To A New Disk</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/">Hallelujah! OS X Can Reduce PDF File Size!</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/"></a><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/">Custom Drive Icons in Mac OS X</a></li>
		<li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"></a><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li>
</ul>
</blockquote></p>
<p>NTFS is a userspace (FUSE) driver, so installing it requires the installation of mac-fuse as well. It&#8217;s been nicely packaged for install over at <a rel="nofollow" href="http://macntfs-3g.blogspot.com/"  target="_blank">MacNTFS-3G</a>, or you can install it with <a href="http://trac.macports.org/browser/trunk/dports/fuse/ntfs-3g"  target="_blank">MacPorts</a>, along with lots of other great UNIX software.</p>
<p><a rel="nofollow" href="http://www.amazon.com/gp/product/B0027TY86E?ie=UTF8&amp;tag=packrat-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B0027TY86E&quot;"  target="_blank">Paragon NTFS</a> functions similarly to NTFS-3G. The latest versions also include an HFS+ driver for Windows, allowing your Boot Camp instance to read your Mac drive, which is pretty cool. I was initially interested in Paragon&#8217;s software, thinking it would be more stable and supported than the open source NTFS-3G. But at $40, it&#8217;s hard to justify the cost when a free alternative is available. Once I tried the <a href="http://bit.ly/5yFPT"  target="_blank">free version</a> from Giveaway-of-the-Day, I know I would have felt cheated if I had spent the money on it. The MacNTFS-3G package is so nicely integrated, there is really no need to fear it. And I&#8217;ve had no trouble with it in over a year of use.</p>
<p>The Paragon Giveaway didn&#8217;t include the HFS+ driver for Windows, but reports are that <a href="http://www.roughlydrafted.com/2009/05/09/snow-leopards-boot-camp-to-support-hfs-under-windows/"  target="_blank">Apple will introduce a similar driver</a> with Snow Leopard. I think <strong>I&#8217;m liking free and bundled software more and more!</strong><br />
<blockquote>Note: Some of these links include affiliate codes that help pay for this blog. For example, <a href="http://www.amazon.com/gp/product/B002Y27P3M?ie=UTF8&tag=packrat-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=B002Y27P3M" target="_blank">buying an Amazon Kindle with this link</a> sends a few bucks my way! But I don't write this blog to make money, and am happy to link to sites and stores that don't pay anything. I like Amazon and buy tons from them, but you're free to buy whatever and wherever you want.</blockquote></p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/"  rel="bookmark" class="crp_title">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li><li><a href="http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/"  rel="bookmark" class="crp_title">How To Write To Windows NTFS Drives In Mac OS X 10.6 &#8220;Snow Leopard&#8221;</a></li><li><a href="http://blog.fosketts.net/2012/01/03/microsoft-adds-data-deduplication-ntfs-windows-8/"  rel="bookmark" class="crp_title">Microsoft Adds Data Deduplication to NTFS in Windows 8</a></li><li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"  rel="bookmark" class="crp_title">Custom Drive Icons in Mac OS X</a></li><li><a href="http://blog.fosketts.net/2010/12/07/pile-interesting-links-december-3-2010/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links, December 3, 2010</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2009. |
<a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/">Access NTFS Volumes On Your Mac</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/apple/" title="View all posts in Apple" rel="category tag">Apple</a>, <a href="http://blog.fosketts.net/category/everything/personal/" title="View all posts in Personal" rel="category tag">Personal</a>, <a href="http://blog.fosketts.net/category/everything/terabytehome/" title="View all posts in Terabyte home" rel="category tag">Terabyte home</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OS X Custom Drive Icons 2: Boot Camp and NTFS</title>
		<link>http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/</link>
		<comments>http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 15:00:08 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Virtual Storage]]></category>
		<category><![CDATA[Boot Camp]]></category>
		<category><![CDATA[FAT]]></category>
		<category><![CDATA[HFS]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[NTFS-3G]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[VMware Fusion]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=566</guid>
		<description><![CDATA[In my last post, I discussed the simple but confusing steps required to add custom icons to Mac OS X drives. I mentioned that there were some tricks to getting custom icons on some drives, however, including Boot Camp and NTFS disks. This week, I&#8217;ll show how to customize these as well. There are two [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_485" class="wp-caption alignright" style="width: 294px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-23.png" ><img class="size-medium wp-image-485" title="Custom OS X Drive Icons" src="http://blog.fosketts.net/wp-content/uploads/2008/08/picture-23.png" alt="Yup, my Boot Camp drive icon is customized, too!" width="284" height="207" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Yup, my Boot Camp drive icon is customized, too!</p></div>
<p>In my last post, I discussed the <a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-in-mac-os-x/"  target="_self">simple but confusing steps required to add custom icons to Mac OS X drives</a>. I mentioned that there were some tricks to getting custom icons on some drives, however, including Boot Camp and NTFS disks. This week, I&#8217;ll show how to customize these as well.</p>
<p>There are two core problems with customizing drive icons for certain volumes:</p>
<ol>
<li>OS X can&#8217;t directly write to anything but HFS+ and FAT, and this includes writing icons</li>
<li>OS X needs a special resource on the drive to indicate that the custom icon should be used, and only HFS+ supports this</li>
</ol>
<p>But it&#8217;s easy enough to get around these limitations. Apple takes care of number 2, and we can cover number 1 in one of two ways.</p>
<p><span id="more-566"></span></p>
<p><blockquote><p>This post is part of my series focused on Apple OS X tips and tricks.</p>

<ul>
		<li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/">Access NTFS Volumes On Your Mac</a></li>
		<li><a href="http://blog.fosketts.net/2009/01/19/clean-up-mac-disk-tools/">Clean Up Your Mac! Essential OS X Tidiness Tools and Techniques</a></li>
		<li><a href="http://blog.fosketts.net/2008/07/26/move-os-x-time-machine-backups-new-disk/">How To Move OS X Time Machine Backups To A New Disk</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/">Hallelujah! OS X Can Reduce PDF File Size!</a></li>
		<li><a href="http://blog.fosketts.net/2008/10/23/reduce-file-size-pdf-mac/"></a><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/">Custom Drive Icons in Mac OS X</a></li>
		<li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"></a><a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/">OS X Custom Drive Icons 2: Boot Camp and NTFS</a></li>
</ul>
</blockquote></p>
<p><strong>Techie Bits</strong></p>
<div id="attachment_567" class="wp-caption alignright" style="width: 112px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-3.png" ><img class="size-full wp-image-567" title="Generic OS X USB Drive Icon" src="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-3.png" alt="Booooooring generic USB drive icon in OS X" width="102" height="86" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Booooooring generic USB drive icon in OS X</p></div>
<p>Old versions of Mac OS stored lots of data (aka &#8220;resources&#8221;) in the <a rel="nofollow" href="http://en.wikipedia.org/wiki/Resource_fork"  target="_blank">resource fork</a> of a file, including icon graphics. However, this became a problem with the advent of networking and cross-platform computing, since no other popular personal computing platform supported two-fork files. OS X moves most resources into the data fork &#8211; although resource forks still exist, they are rarely used.</p>
<p>However, it appears to me that although the &#8220;icns&#8221; data for a drive icon is stored in the data fork of the .VolumeIcon.icns file, Apple still uses a pointer in the resource fork of the root directory of the drive to tell OS X to use that icon. In other words, when a drive is mounted, OS X seems to look in the resource fork of &#8220;.&#8221; for a flag that says &#8220;use the icon in .VolumeIcon.icns&#8221; before it will use the icon. I&#8217;m not sure this is the case, but I do know that .VolumeIcon.icns has no resource fork (even on HFS+), but it requires a special resource file on other filesystems.</p>
<p>Since only HFS and HFS+ support resource forks, this is a problem. Apple gets around this by saving resource fork data in files with &#8220;._&#8221; prepended to their name. So the resource fork of &#8220;index.html&#8221; would be &#8220;._index.html&#8221; on a FAT drive. Every FAT drive I&#8217;ve added a custom icon to includes a file called &#8220;._.&#8221;, which sounds like the root directory&#8217;s resource to me, and this is required for the icon to work.</p>
<p><strong>Getting It Done</strong></p>
<div id="attachment_568" class="wp-caption alignright" style="width: 124px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: right;"><a href="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-4.png" ><img class="size-full wp-image-568" title="Custom Maxtor 3200 Drive Icon in OS X" src="http://blog.fosketts.net/wp-content/uploads/2008/09/picture-4.png" alt="Aah, thats a much better icon for my Maxtor 3200!" width="114" height="96" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Aah, that&#39;s a much better icon for my Maxtor 3200!</p></div>
<p>So you need two files on a non-HFS+ drive to get the custom icon to work:<br />
  </p>
<ol>
<li>.VolumeIcon.icns &#8211; the same exact file as on an HFS+ volume, containing the icon data in the data fork</li>
<li>._. &#8211; a special file (resource fork, perhaps?) which seems to tell OS X to use the icon</li>
</ol>
<p>As illustrated previously, adding a custom icon to a FAT drive is exactly the same as on an HFS+ drive &#8211; create the icon resource and copy and paste it in the drive&#8217;s Info inspector. If we move these two files over to any other OS X-readable drive (including NTFS-formatted Boot Camp partitions), it will use the icon!</p>
<p>OS X can&#8217;t write to NTFS, so there are two ways to get these files onto an NTFS drive:</p>
<ol>
<li>Make OS X write to NTFS by installing NTFS-3G</li>
<li>Copy the two files over in an OS like XP or Vista that <em>can</em> write to NTFS</li>
</ol>
<p>[ad#vmware]The first method is simple, but not one I wanted to try. <a rel="nofollow" href="http://macntfs-3g.blogspot.com/"  target="_blank">NTFS-3G</a> is great &#8211; it&#8217;s a reverse-engineered open-source read/write driver for NTFS, and works on lots of platforms. But NTFS is finicky, and I&#8217;m not too keen on risking the integrity of the drive with an unsupported driver. If you want to use this method, though, customizing the icons is as simple as it is with FAT, once the driver is installed.</p>
<p>I used method 2 &#8211; relying on VMware Fusion to allow me to write the icon data to my NTFS drives and using a FAT-formatted flash drive as an intermediary between OS X and Vista. I created my icons, applied them to my flash drive, then booted up Vista in Fusion and copied the two files over in a DOS window. They&#8217;re hidden by default, but that shouldn&#8217;t slow you down.</p>
<p>Note that this only affects the icons in OS X &#8211; it will not allow you to customize the boot icons.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2008/08/27/custom-drive-icons-mac-os-x/"  rel="bookmark" class="crp_title">Custom Drive Icons in Mac OS X</a></li><li><a href="http://blog.fosketts.net/2009/08/06/access-ntfs-volumes-mac/"  rel="bookmark" class="crp_title">Access NTFS Volumes On Your Mac</a></li><li><a href="http://blog.fosketts.net/2008/05/27/custom-icons-keep-removable-drives-straight/"  rel="bookmark" class="crp_title">Custom Icons Keep Removable Drives Straight</a></li><li><a href="http://blog.fosketts.net/2010/11/29/write-windows-ntfs-drive-mac-os-106-snow-leopard/"  rel="bookmark" class="crp_title">How To Write To Windows NTFS Drives In Mac OS X 10.6 &#8220;Snow Leopard&#8221;</a></li><li><a href="http://blog.fosketts.net/2009/09/11/bizarre-hfs-tricks-in-mac-os-x-10-6-snow-leopard/"  rel="bookmark" class="crp_title">Bizarre HFS+ Tricks in Mac OS X 10.6 Snow Leopard</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2008. |
<a href="http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/">OS X Custom Drive Icons 2: Boot Camp and NTFS</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/apple/" title="View all posts in Apple" rel="category tag">Apple</a>, <a href="http://blog.fosketts.net/category/everything/virtualstorage/" title="View all posts in Virtual Storage" rel="category tag">Virtual Storage</a>. Each of my categories has its own feed if you'd like to filter out or focus on posts like this.<br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.fosketts.net/2008/09/03/os-x-custom-drive-icons-2-boot-camp-ntfs/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

