<?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; FAT Archives  &#8211; Stephen Foskett, Pack Rat</title>
	<atom:link href="http://blog.fosketts.net/tag/fat/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>Monitoring Filesystem Metadata For Thin Provisioning</title>
		<link>http://blog.fosketts.net/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/</link>
		<comments>http://blog.fosketts.net/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 17:58:26 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Computer History]]></category>
		<category><![CDATA[Enterprise storage]]></category>
		<category><![CDATA[Everything]]></category>
		<category><![CDATA[Virtual Storage]]></category>
		<category><![CDATA[data robotics]]></category>
		<category><![CDATA[Drobo]]></category>
		<category><![CDATA[FAT]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[HFS]]></category>
		<category><![CDATA[Metadata]]></category>
		<category><![CDATA[metadata monitoring]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[thin provisioning]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=4628</guid>
		<description><![CDATA[I began by introducing the core problem: Storage isn't getting any cheaper due to storage utilization and provisioning problems. Thin provisioning isn't all it's cracked up to be, since the telephone game makes de-allocation a challenge. So now let's talk about how to make thin provisioning actually work.]]></description>
			<content:encoded><![CDATA[<p><a href="http://static.fosketts.net/wp-content/uploads/2010/12/Slide01.jpg"><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-medium wp-image-4606" title="Slide01" src="http://static.fosketts.net/wp-content/uploads/2010/12/Slide01-300x225.jpg" alt="" width="300" height="225" /></a>

One of the topics I've often written and spoken about is thin provisioning. This series of 11 articles is an edited version of <a href="http://www.slideshare.net/sfoskett/state-of-the-art-thin-provisioning" target="_blank">my thin provisioning presentation from Interop New York 2010</a>. I hope you enjoy it!</p>
<p>I began by introducing the core problem: <a href="http://blog.fosketts.net/2010/12/27/thin-provisioning-storage-cheaper/"  target="_blank">Storage isn&#8217;t getting any cheaper</a> due to <a href="http://blog.fosketts.net/2010/12/27/thin-provisioning-attacking-storage-utilization/"  target="_blank">storage utilization and provisioning problems</a>. Thin provisioning isn&#8217;t all it&#8217;s cracked up to be, since <a href="http://blog.fosketts.net/2010/12/30/thin-provisioning-playing-telephone-game/" >the telephone game</a> makes <a href="http://blog.fosketts.net/2010/12/29/deallocating-core-issue-thin-provisioning/" >de-allocation a challenge</a>. So now let&#8217;s talk about how to make thin provisioning actually work.</p>
<p><a href="http://static.fosketts.net/wp-content/uploads/2010/12/Slide11.jpg" ><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-medium wp-image-4596" title="Slide11" src="http://static.fosketts.net/wp-content/uploads/2010/12/Slide11-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>There are 100 different ways of solving the de-allocation problem, some of which have gained some prominence. They all boil down to two options:</p>
<ol>
<li>Make the <strong>server</strong> super-smart and have it communicate better</li>
<li>Make the <strong>storage</strong> super-smart and have it make educated guesses</li>
</ol>
<p>There&#8217;s only a few ways that the server-side option can be implemented, and we&#8217;ll get to that. But first, let&#8217;s take a look at a sort of hybrid approach that relies on known server usage patterns: Metadata monitoring.</p>
<p><a href="http://static.fosketts.net/wp-content/uploads/2010/12/Slide12.jpg" ><img style=' display: block; margin-right: auto; margin-left: auto;'  class="aligncenter size-medium wp-image-4595" title="Slide12" src="http://static.fosketts.net/wp-content/uploads/2010/12/Slide12-300x225.jpg" alt="" width="300" height="225" /></a></p>
<p>It&#8217;s really hard for the storage to really understand what the server is doing. The best example that I know of is <a href="http://blog.fosketts.net/series/drobo/"  target="_blank">the Drobo sitting under my desk</a>.</p>
<p>I love this little black box. When I got it, I configured it as eight terabytes and I put a 160-gig disk in it. That&#8217;s thin provisioning. And over time, I&#8217;m swapping out the disks and I&#8217;m doing all my stuff, and it still looks like eight terabytes. Add data, delete it, swap disks, and it always just works.</p>
<p>Not a lot of people know how the Drobo works, though. One of the things that people have complained about is that it only supports certain file systems and partition schemes. The reason for this is a &#8220;magical&#8221; thing it&#8217;s doing that relates very, very closely to the topic of this discussion. The Drobo is the first thin provisioning box that I know of that directly monitors the file system.</p>
<p>What the Drobo does is this: It knows where the supported filesystems (HFS+, NTFS, EXT3, and FAT) keep the record of what&#8217;s been deleted. So the Drobo it watches that spot and when you delete something, it reclaims that space. No enterprise storage system can do this, and yet this little box under my desk does it all day long.</p>
<p>This is basically the super, ultimate smarts of storage. But, of course, it&#8217;s very limited. It faces a real challenge in an enterprise setting because there is much more variety. We have all these layers of virtualization and weird file systems and things like that to worry about. We just can&#8217;t expect a product like this to accommodate everybody, so we just can&#8217;t expect this kind of smarts to be put everywhere.</p>
<p>Instead, we have a variety of semaphores sent from the server to the storage array that attempt to solve the telephone game. That&#8217;s what we&#8217;re talking about next.</p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2010/12/30/thin-provisioning-playing-telephone-game/"  rel="bookmark" class="crp_title">Thin Provisioning: Playing the Telephone Game</a></li><li><a href="http://blog.fosketts.net/2010/12/29/deallocating-core-issue-thin-provisioning/"  rel="bookmark" class="crp_title">De-Allocating is the Core Issue for Thin Provisioning</a></li><li><a href="http://blog.fosketts.net/2011/01/04/page-reclaim-savior-thin-provisioning/"  rel="bookmark" class="crp_title">Zero Page Reclaim: Savior of Thin Provisioning?</a></li><li><a href="http://blog.fosketts.net/2011/01/06/bridge-veritas-thin-provisioning-api/"  rel="bookmark" class="crp_title">The Bridge: Veritas Thin (Provisioning) API</a></li><li><a href="http://blog.fosketts.net/2010/12/28/thin-provisioning-attacking-storage-utilization/"  rel="bookmark" class="crp_title">Thin Provisioning: Attacking Storage Utilization</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/" type="text/javascript" charset="utf-8"></script><hr />
<p><small>© sfoskett for <a href="http://blog.fosketts.net">Stephen Foskett, Pack Rat</a>, 2011. |
<a href="http://blog.fosketts.net/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/">Monitoring Filesystem Metadata For Thin Provisioning</a>
<br/>
This post was categorized as <a href="http://blog.fosketts.net/category/everything/computerhistory/" title="View all posts in Computer History" rel="category tag">Computer History</a>, <a href="http://blog.fosketts.net/category/everything/enterprisestorage/" title="View all posts in Enterprise storage" rel="category tag">Enterprise storage</a>, <a href="http://blog.fosketts.net/category/everything/" title="View all posts in Everything" rel="category tag">Everything</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/2011/01/03/monitoring-filesystem-metadata-thin-provisioning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[State of the Art Thin Provisioning]]></series:name>
	</item>
		<item>
		<title>An Introduction To exFAT</title>
		<link>http://blog.fosketts.net/2010/10/01/introduction-exfat/</link>
		<comments>http://blog.fosketts.net/2010/10/01/introduction-exfat/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 15:16:04 +0000</pubDate>
		<dc:creator>Stephen</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computer History]]></category>
		<category><![CDATA[Terabyte home]]></category>
		<category><![CDATA[Bill Gates]]></category>
		<category><![CDATA[exFAT]]></category>
		<category><![CDATA[FAT]]></category>
		<category><![CDATA[FAT16]]></category>
		<category><![CDATA[FAT32]]></category>
		<category><![CDATA[Filesystems]]></category>
		<category><![CDATA[HFS]]></category>
		<category><![CDATA[Marc McDonald]]></category>
		<category><![CDATA[MBR]]></category>
		<category><![CDATA[Memory Stick]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[NTFS]]></category>
		<category><![CDATA[QDOS]]></category>
		<category><![CDATA[SD]]></category>
		<category><![CDATA[SDHC]]></category>
		<category><![CDATA[SDXC]]></category>
		<category><![CDATA[Seattle Computer Products]]></category>
		<category><![CDATA[Tim Paterson]]></category>
		<category><![CDATA[VFAT]]></category>

		<guid isPermaLink="false">http://blog.fosketts.net/?p=3777</guid>
		<description><![CDATA[Microsoft already gave the world FAT and NTFS, and both have become common in the non-Windows world thanks to flash drives, SD cards, and portable disks. But the folks from Redmond are now introducing a new filesystem, exFAT. Do we really need a new filesystem?]]></description>
			<content:encoded><![CDATA[<div id="attachment_3778" 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://blog.fosketts.net/wp-content/uploads/2010/10/Scale-Face-by-playingwithpsp.jpg" ><img class="size-medium wp-image-3778" title="Scale Face by playingwithpsp" src="http://blog.fosketts.net/wp-content/uploads/2010/10/Scale-Face-by-playingwithpsp-300x287.jpg" alt="" width="300" height="287" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">Today&#39;s super-sized drives need something better than FAT. Introducing exFAT, the next-generation portable filesystem.</p></div>
<p>Microsoft already gave the world FAT and NTFS, and both have become common in the non-Windows world thanks to flash drives, SD cards, and portable disks. But the folks from Redmond are now introducing a new filesystem, exFAT. Do we really need a new filesystem?</p>
<h3>The Rise and Fall of FAT</h3>
<p>Although computing is a volatile world, standards tend to stick around way past their prime. Nowhere is this more apparent than the ubiquitous FAT filesystem. Although it has been modified and updated, the basic FAT structure pre-dates DOS: It was designed for Microsoft&#8217;s first real product, Standalone Basic, and bears the fingerprints of the company&#8217;s first employee, <a rel="nofollow" href="http://en.wikipedia.org/wiki/Marc_McDonald"  target="_blank">Marc McDonald</a>, as well as some other programmer called Bill Gates.</p>
<p>Appealing in its simplicity, FAT was <a href="http://starman.vertcomp.com/DOS/ibm100/index.html"  target="_blank">adopted</a> by <a rel="nofollow" href="http://en.wikipedia.org/wiki/Tim_Paterson"  target="_blank">Tim Paterson</a> at Seattle Computer Products for his QDOS operating system, which found its way back to Microsoft as IBM&#8217;s PC-DOS. FAT was improved with 16-bit cluster addresses for the 1984 IBM PC-AT&#8217;s hard disk drive, and enhanced again to match growing disk sizes as FAT32 in Windows 95. Along the way, VFAT added 32-bit file access and long file names.</p>
<p>Because it was simple in concept, FAT was reverse-engineered and adopted as a standard filesystem for data interchange between DOS/Windows PCs and other operating systems, from Apple to Atari to Amiga. Today, FAT16 is the dominant format for SD cards, and most thumb drives and SDHC cards use FAT32. But FAT is not an open standard: Microsoft <a rel="nofollow" href="http://www.microsoft.com/about/legal/en/us/IntellectualProperty/IPLicensing/Programs/FATFileSystem.aspx"  target="_blank">successfully patented</a> VFAT and FAT32 and <a rel="nofollow" href="http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx"  target="_blank">specifically requires</a> digital camera and flash drive companies to obtain a license for its use.</p>
<p>Although widely dismissed as archaic, many of the limits of FAT (especially FAT32) are due to factors outside the filesystem, particularly the MBR partition scheme and implementation-related issues. FAT32 is <a href="http://ask-leo.com/is_there_a_limit_to_what_a_single_folder_or_directory_can_hold.html"  target="_blank">capable</a> on disks up to 2 terabytes, which matches the maximum size of the next-generation SDXC flash card specification. And, despite Microsoft&#8217;s patents, FAT is widely implemented and stable on a variety of platforms and embedded devices.</p>
<h3>Why exFAT?</h3>
<p>Hard disk drives long since switched to NTFS or other operating system-specific formats, so FAT is mainly used on flash media today. Sadly, FAT isn&#8217;t all that well-suited for applications like these. Thumb drives don&#8217;t really push the envelope for FAT since they tend to hold reasonable numbers of smaller files, but flash media for digital cameras is a different story.</p>
<p>SD cards have taken over the digital camera world: Even holdouts like Sony now support SD and its successors, SDHC and SDXC. And just about every SD and SDHC card sold today uses FAT16 and FAT32, respectively. It works reasonably well for still images, but video poses real issues. FAT32 is limited to 4 GB per file, and HD camcorders and digital cameras can easily push past this size limit. Most models today split files or limit recording time to avoid this limitation, but that&#8217;s not optimal.</p>
<p>exFAT enables file sizes up to 16 EB and also adds nifty features like a free space bitmap allowing better use of flash memory and eliminating the read/erase/write issue of NAND. It also allows more-granular timestamps (10 ms, rather than 2 seconds on FAT) which better-match high-speed shooting capabilities of today&#8217;s digital cameras.</p>
<h3>exFAT Limitations</h3>
<p>But not everything is rosy with exFAT. Although it seems poised to take off thanks to strong support from the SDcard Association, exFAT remains encumbered by patents and licensing fees from Microsoft. Memory Stick XC requires the use of exFAT, but SDXC merely suggests it and there is no guarantee of third-party support. Digital camera makers may decide to stick with FAT32 rather than switch, though Microsoft makes it more attractive for embedded uses with <a href="http://arstechnica.com/microsoft/news/2009/12/microsoft-licenses-out-exfat-file-system.ars"  target="_blank">a flat $300k fee</a> per manufacturer.</p>
<p>There is also one odd technical limitation to exFAT. Because removable media is often physically ejected at inopportune moments, the FAT filesystem was designed with alternating file allocation tables. Should writing of the table be interrupted, FAT can always fall back on the previous iteration. exFAT curiously uses just one allocation table and free space bitmap, making it more likely to become corrupt in precisely the portable devices it was intended for. A follow-on enhancement, Transactional exFAT or TexFAT, adds redundant tables and bitmaps but may not be implemented.</p>
<p>Unfortunately, the old, inflexible MBR partition scheme remains coupled to exFAT. It would have been nice to ditch MBR in favor of the open GPT format, but the static nature of flash media made that less of a priority. Still, MBR is limited to 2 TB, and this will become a roadblock for flash media at some point.</p>
<blockquote><p>You might also want to read <a href="http://blog.fosketts.net/2010/10/01/sdxc-exfat-apple-mac-os-imac-mini/" >Introducing SDXC and exFAT in Apple Mac OS X</a></p></blockquote>
<h3>Stephen&#8217;s Stance</h3>
<p>Adoption of exFAT seems likely, especially for the SDXC and MSXC flash cards used in digital cameras. Because it is not backwards-compatible with devices, media, operating systems, and card readers, however, consumer confusion is likely to result. Even systems with an SDXC card reader might not be capable of reading the exFAT filesystem contained on the card, and vice versa.</p>
<p>Microsoft, being the proud parent of exFAT, supports the new filesystem in its modern Windows 7 and Server 2008 operating systems and has moved quickly to add it to Windows XP, Server 2003, and Vista. A few exFAT drivers exist for Linux and Android, and <a href="http://blog.fosketts.net/2010/10/01/sdxc-exfat-apple-mac-os-imac-mini/"  target="_blank">Apple is likely to add support for exFAT in Snow Leopard 10.6.5</a>, since the SDXC-capable mid-July iMac and Mac Mini computers already have it in 10.6.4.</p>
<p>So it looks like we&#8217;ve got a new filesystem on our hands, at least for camera cards. But exFAT will not likely replace FAT32 on thumb drives any time soon. Their portability requires broad compatibility, and FAT32 has the widest support today. Although exFAT will likely be used in embedded applications, it there is no compelling reason for it to displace NTFS and other operating system filesystems like (Apple) HFS+ and (Linux) ext3/ext4 any time soon.</p>
<p><em>Image credit: Scale Face by </em><a rel="nofollow" href="http://www.flickr.com/photos/playingwithpsp/" ><em>Playingwithbrushes</em></a></p>
<div id="crp_related"><h3>You might also want to read these other posts...</h3><ul><li><a href="http://blog.fosketts.net/2010/10/01/sdxc-exfat-apple-mac-os-imac-mini/"  rel="bookmark" class="crp_title">Introducing SDXC and exFAT in Apple Mac OS X</a></li><li><a href="http://blog.fosketts.net/2010/12/06/ipad-compatible-sdxc-exfat-cards/"  rel="bookmark" class="crp_title">Is The iPad Compatible With SDXC and ExFAT Cards?</a></li><li><a href="http://blog.fosketts.net/2012/01/06/xqd-card-media-pro-cameras/"  rel="bookmark" class="crp_title">What Is an XQD Card? The New Media for Pro Cameras!</a></li><li><a href="http://blog.fosketts.net/2010/12/10/pile-interesting-links-december-10-2010/"  rel="bookmark" class="crp_title">Back From the Pile: Interesting Links, December 10, 2010</a></li><li><a href="http://blog.fosketts.net/2010/10/05/hitachi-gst-advanced-format-hard-disk-drive/"  rel="bookmark" class="crp_title">Hitachi GST Joins WD On The &#8220;Advanced Format&#8221; Hard Disk Drive Bandwagon</a></li></ul></div><script src="http://feeds.feedburner.com/~s/sfoskett?i=http://blog.fosketts.net/2010/10/01/introduction-exfat/" 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/10/01/introduction-exfat/">An Introduction To exFAT</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/computerhistory/" title="View all posts in Computer History" rel="category tag">Computer History</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/10/01/introduction-exfat/feed/</wfw:commentRss>
		<slash:comments>3</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>

