<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: .Trashes, .fseventsd, and .Spotlight-V100</title>
	<atom:link href="http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/feed/" rel="self" type="application/rss+xml" />
	<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/</link>
	<description>a disgruntled developer taking a stand in the information multiverse</description>
	<pubDate>Fri, 30 Jul 2010 02:29:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Hostile Fork</title>
		<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/#comment-1118</link>
		<dc:creator>Hostile Fork</dc:creator>
		<pubDate>Sun, 23 May 2010 14:47:53 +0000</pubDate>
		<guid isPermaLink="false">http://hostilefork.com/?p=129#comment-1118</guid>
		<description>@Jake - Hmmm... it worked for me with a FAT32 device.  What filesystem is the drive in question?</description>
		<content:encoded><![CDATA[<p>@Jake - Hmmm&#8230; it worked for me with a FAT32 device.  What filesystem is the drive in question?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/#comment-1117</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Sun, 23 May 2010 12:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://hostilefork.com/?p=129#comment-1117</guid>
		<description>Putting .metadata_never_index doesn't stop Spotlight from indexing the drive on my Snow Leopard OS. Added the volume to the Privacy tab doesn't work either because it is removed once the drive is ejected and doesn't reappear in the Privacy tab once the drive is re-inserted.</description>
		<content:encoded><![CDATA[<p>Putting .metadata_never_index doesn&#8217;t stop Spotlight from indexing the drive on my Snow Leopard OS. Added the volume to the Privacy tab doesn&#8217;t work either because it is removed once the drive is ejected and doesn&#8217;t reappear in the Privacy tab once the drive is re-inserted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy Steer</title>
		<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/#comment-1075</link>
		<dc:creator>Randy Steer</dc:creator>
		<pubDate>Wed, 14 Apr 2010 20:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://hostilefork.com/?p=129#comment-1075</guid>
		<description>Thanks.  I've never really understood why MacOS "speak with forked tongue" -- seems an unnecessary complication, like the Windows Registry.  (Dear Windows: If a program needs configuration data, store it in a damn file in the program directory!)

I guess the extra "._" files make sense for cross-file-format compatibility though.</description>
		<content:encoded><![CDATA[<p>Thanks.  I&#8217;ve never really understood why MacOS &#8220;speak with forked tongue&#8221; &#8212; seems an unnecessary complication, like the Windows Registry.  (Dear Windows: If a program needs configuration data, store it in a damn file in the program directory!)</p>
<p>I guess the extra &#8220;._&#8221; files make sense for cross-file-format compatibility though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hostile Fork</title>
		<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/#comment-1074</link>
		<dc:creator>Hostile Fork</dc:creator>
		<pubDate>Wed, 14 Apr 2010 20:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://hostilefork.com/?p=129#comment-1074</guid>
		<description>&lt;i&gt;Oh, there is one other thing that the MacBook wrote on the flash drive that you didn't mention in your blog: a file (not folder) in the root called "._.Trashes".&lt;/i&gt;

Hi Randy; I didn't see that particular file in my case.  But Googling for "._.Trashes" shows you're not alone.

As a general concept, the ._ prefix is explained here:

http://www.westwind.com/reference/OS-X/invisibles.html

"These files are created on volumes that don't natively support full HFS file characteristics (e.g. ufs volumes, Windows fileshares, etc). When a Mac file is copied to such a volume, its data fork is stored under the file's regular name, and the additional HFS information (resource fork, type &#038; creator codes, etc) is stored in a second file (in AppleDouble format), with a name that starts with "._". (These files are, of course, invisible as far as OS-X is concerned, but not to other OS's; this can sometimes be annoying...)"</description>
		<content:encoded><![CDATA[<p><i>Oh, there is one other thing that the MacBook wrote on the flash drive that you didn&#8217;t mention in your blog: a file (not folder) in the root called &#8220;._.Trashes&#8221;.</i></p>
<p>Hi Randy; I didn&#8217;t see that particular file in my case.  But Googling for &#8220;._.Trashes&#8221; shows you&#8217;re not alone.</p>
<p>As a general concept, the ._ prefix is explained here:</p>
<p><a href="http://www.westwind.com/reference/OS-X/invisibles.html" rel="nofollow" target="_blank" class="liexternal">http://www.westwind.com/reference/OS-X/invisibles.html</a></p>
<p>&#8220;These files are created on volumes that don&#8217;t natively support full HFS file characteristics (e.g. ufs volumes, Windows fileshares, etc). When a Mac file is copied to such a volume, its data fork is stored under the file&#8217;s regular name, and the additional HFS information (resource fork, type &#038; creator codes, etc) is stored in a second file (in AppleDouble format), with a name that starts with &#8220;._&#8221;. (These files are, of course, invisible as far as OS-X is concerned, but not to other OS&#8217;s; this can sometimes be annoying&#8230;)&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Randy Steer</title>
		<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/#comment-1072</link>
		<dc:creator>Randy Steer</dc:creator>
		<pubDate>Wed, 14 Apr 2010 15:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://hostilefork.com/?p=129#comment-1072</guid>
		<description>Thanks!  I just noticed those files/folders on a flash drive that had I most recently used with a borrowed laptop (Win XP Pro) while on vacation.  I thought the laptop had been infected, since it had outdated anti-virus and no firewall.  (It came from my girlfriend's office and she didn't want me putting on any of the GOOD security tools I use.)  

BUT, having read this, I remember that the day before the vacation, I had been in a computer store and had plugged the flash drive into a MacBook on sale, to see if it could transparently read my existing files.  So that's how I got these stupid things!  I can stop writing my long e-mail to my girlfriend about how her office laptop may be infected...

(I was checking out the MacBook because with slightly dropping Apple prices and the rare sale, the MacBook was "only" $200 more than comparable WinXP and Win7 notebooks.  (Comparable except for the Mac's dinky 13 inch screen, that is, but I guess that contributes to the long battery life.)

I'm going to put the files you recommend on all my flash and USB drives just in case I ever plug any of them into a Mac again.

Oh, there is one other thing that the MacBook wrote on the flash drive that you didn't mention in your blog: a file (not folder) in the root called "._.Trashes".</description>
		<content:encoded><![CDATA[<p>Thanks!  I just noticed those files/folders on a flash drive that had I most recently used with a borrowed laptop (Win XP Pro) while on vacation.  I thought the laptop had been infected, since it had outdated anti-virus and no firewall.  (It came from my girlfriend&#8217;s office and she didn&#8217;t want me putting on any of the GOOD security tools I use.)  </p>
<p>BUT, having read this, I remember that the day before the vacation, I had been in a computer store and had plugged the flash drive into a MacBook on sale, to see if it could transparently read my existing files.  So that&#8217;s how I got these stupid things!  I can stop writing my long e-mail to my girlfriend about how her office laptop may be infected&#8230;</p>
<p>(I was checking out the MacBook because with slightly dropping Apple prices and the rare sale, the MacBook was &#8220;only&#8221; $200 more than comparable WinXP and Win7 notebooks.  (Comparable except for the Mac&#8217;s dinky 13 inch screen, that is, but I guess that contributes to the long battery life.)</p>
<p>I&#8217;m going to put the files you recommend on all my flash and USB drives just in case I ever plug any of them into a Mac again.</p>
<p>Oh, there is one other thing that the MacBook wrote on the flash drive that you didn&#8217;t mention in your blog: a file (not folder) in the root called &#8220;._.Trashes&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcast</title>
		<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/#comment-1051</link>
		<dc:creator>jcast</dc:creator>
		<pubDate>Sat, 20 Mar 2010 03:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://hostilefork.com/?p=129#comment-1051</guid>
		<description>Thanks very much for this info. Extremely helpful and nice to know I can stop annoying things from happening in circumstances where another or specialized system tries to do things with these files that it shouldn't do.</description>
		<content:encoded><![CDATA[<p>Thanks very much for this info. Extremely helpful and nice to know I can stop annoying things from happening in circumstances where another or specialized system tries to do things with these files that it shouldn&#8217;t do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Knoble</title>
		<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/#comment-1030</link>
		<dc:creator>Jim Knoble</dc:creator>
		<pubDate>Mon, 11 Jan 2010 07:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://hostilefork.com/?p=129#comment-1030</guid>
		<description>Folks connecting external drives to a Mac should mount them read-only if they don't want them written to (just like a savvy user would 'mount -r' or 'mount -o ro' under Linux).  Here's a prefpane ("ReadOnlyMounter") that helps with that:

http://homepage3.nifty.com/extant/MacOSXsoft/MacOSXsoft.html

I agree, the use of .Cruftiness to tell Spotlight and fseventsd and Finder not to drop crap on my drives is irritating.  I use these to help with that:

http://www.zeroonetwenty.com/blueharvest/
http://myhowto.org/mac-os-x/52-disabling-spotlight-in-os-x-leopard-for-the-removable-drives/

To be honest, I'd rather live with this stuff than with Windows Vista constantly rearranging my desktop icons and resetting my folder views on its whim, because it thinks one file is a photograph, so therefore the whole folder must contain photos and i must want to view them as tiles, even though every other bleeding time i viewed the folder i viewed it as a Detailed List.  At least Apple makes it possible to turn it off....</description>
		<content:encoded><![CDATA[<p>Folks connecting external drives to a Mac should mount them read-only if they don&#8217;t want them written to (just like a savvy user would &#8216;mount -r&#8217; or &#8216;mount -o ro&#8217; under Linux).  Here&#8217;s a prefpane (&#8221;ReadOnlyMounter&#8221;) that helps with that:</p>
<p><a href="http://homepage3.nifty.com/extant/MacOSXsoft/MacOSXsoft.html" rel="nofollow" target="_blank" class="liexternal">http://homepage3.nifty.com/extant/MacOSXsoft/MacOSXsoft.html</a></p>
<p>I agree, the use of .Cruftiness to tell Spotlight and fseventsd and Finder not to drop crap on my drives is irritating.  I use these to help with that:</p>
<p><a href="http://www.zeroonetwenty.com/blueharvest/" rel="nofollow" target="_blank" class="liexternal">http://www.zeroonetwenty.com/blueharvest/</a><br />
<a href="http://myhowto.org/mac-os-x/52-disabling-spotlight-in-os-x-leopard-for-the-removable-drives/" rel="nofollow" target="_blank" class="liexternal">http://myhowto.org/mac-os-x/52-disabling-spotlight-in-os-x-leopard-for-the-removable-drives/</a></p>
<p>To be honest, I&#8217;d rather live with this stuff than with Windows Vista constantly rearranging my desktop icons and resetting my folder views on its whim, because it thinks one file is a photograph, so therefore the whole folder must contain photos and i must want to view them as tiles, even though every other bleeding time i viewed the folder i viewed it as a Detailed List.  At least Apple makes it possible to turn it off&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adam</title>
		<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/#comment-1027</link>
		<dc:creator>adam</dc:creator>
		<pubDate>Wed, 06 Jan 2010 04:16:33 +0000</pubDate>
		<guid isPermaLink="false">http://hostilefork.com/?p=129#comment-1027</guid>
		<description>Awesome!  Thanks for this post.  I have no proof, but I suspect these were screwing up my RAID.  Incidentally, I have my RAID drive added to be excluded from both Time Machine and Spotlight, yet these directories are still created and contain loads of data.</description>
		<content:encoded><![CDATA[<p>Awesome!  Thanks for this post.  I have no proof, but I suspect these were screwing up my RAID.  Incidentally, I have my RAID drive added to be excluded from both Time Machine and Spotlight, yet these directories are still created and contain loads of data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: W^L+</title>
		<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/#comment-1018</link>
		<dc:creator>W^L+</dc:creator>
		<pubDate>Fri, 11 Dec 2009 19:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://hostilefork.com/?p=129#comment-1018</guid>
		<description>@Jeremy:
It is certainly true that most unix-like operating systems AND WINDOWS will automatically write to a file system. However, file system recovery is a basic operation common to ALL operating systems. If the default behavior of Mac OSX prevents recovery, then it is simply the wrong action.

It really is not hard to wait and see whether the user is trying to perform actions that require those added files to be there.

As a Linux user, I am often called upon to recover data for Windows users. Mac users probably get just as many requests. If the OS trashes the drive before one can perform the recovery, then the above comments about not being acceptable for serious usage are true.</description>
		<content:encoded><![CDATA[<p>@Jeremy:<br />
It is certainly true that most unix-like operating systems AND WINDOWS will automatically write to a file system. However, file system recovery is a basic operation common to ALL operating systems. If the default behavior of Mac OSX prevents recovery, then it is simply the wrong action.</p>
<p>It really is not hard to wait and see whether the user is trying to perform actions that require those added files to be there.</p>
<p>As a Linux user, I am often called upon to recover data for Windows users. Mac users probably get just as many requests. If the OS trashes the drive before one can perform the recovery, then the above comments about not being acceptable for serious usage are true.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Friesner</title>
		<link>http://hostilefork.com/2009/12/02/trashes-fseventsd-and-spotlight-v100/#comment-1016</link>
		<dc:creator>Jeremy Friesner</dc:creator>
		<pubDate>Sat, 05 Dec 2009 05:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://hostilefork.com/?p=129#comment-1016</guid>
		<description>Actually, many unix systems will write to a mounted disk automatically, unless you mount the fs with the -noatime flag.  I think if you mount the disk read/write, that's giving the OS permission to write to the disk.  If you don't want it to do that (e.g. Because the fs integrity is damaged) the you need to be sure to mount it read only.

Apple's focus is rightly on providing the best user experience to the non-technical user.  People trying to rescue hosed filesystems or avoid harmless dot-files are a special niche, and a secondary concern at best.</description>
		<content:encoded><![CDATA[<p>Actually, many unix systems will write to a mounted disk automatically, unless you mount the fs with the -noatime flag.  I think if you mount the disk read/write, that&#8217;s giving the OS permission to write to the disk.  If you don&#8217;t want it to do that (e.g. Because the fs integrity is damaged) the you need to be sure to mount it read only.</p>
<p>Apple&#8217;s focus is rightly on providing the best user experience to the non-technical user.  People trying to rescue hosed filesystems or avoid harmless dot-files are a special niche, and a secondary concern at best.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
