{"id":2665,"date":"2011-07-26T21:48:37","date_gmt":"2011-07-26T11:48:37","guid":{"rendered":"http:\/\/mingersoft.com\/blog\/?p=2665"},"modified":"2011-07-26T21:48:37","modified_gmt":"2011-07-26T11:48:37","slug":"the-apple-double-format-network-shares-and-utorrent","status":"publish","type":"post","link":"https:\/\/mingersoft.com\/blog\/2011\/07\/the-apple-double-format-network-shares-and-utorrent\/","title":{"rendered":"The Apple Double Format, Network Shares and uTorrent"},"content":{"rendered":"<p>This might be a bit of an edge case for most people but for those of us with heterogeneous networks with a mixture of Windows and Mac OS X computers you may come across hidden files starting with &#8220;._&#8221; (so something like &#8220;._humptydumpty.doc&#8221;) and may or may not correspond with a filename of the same name with out the leading &#8220;._&#8221;.<\/p>\n<p>So what is it?<\/p>\n<p>Basically, it&#8217;s a leftover from older versions of Mac OS prior to Mac OS X that used &#8220;resource forks&#8221; to store file information. There would be a &#8220;data fork&#8221; that contained the actually file information and a &#8220;resource fork&#8221; containing descriptive information about the file.<\/p>\n<p>For me, this is particularly problematic when trying to have torrents load automatically from a folder on the Windows Home Server box as the resource forks with filenames starting with &#8220;._&#8221; and ending in &#8220;.torrent&#8221; take alphabetical precedence over the actual torrent files themselves. The problem this creates is that uTorrent will get stuck on the resource forks and not load the proper torrent files.<\/p>\n<p>So how can we fix this?<\/p>\n<p>The best solution I have found for my situation is to force the Mac OS X machines in the household to enable the use of &#8220;streams&#8221; on network shares that support them (such as NTFS formatted drives like the three in the Windows Home Server box). The &#8220;Alternate Data Streams&#8221; or ADS feature in NTFS provides a seamless way to store the same information.<\/p>\n<p>To enable the use of streams open a terminal window on the Mac OS X machines and type in the following:<\/p>\n<ul>\n<li>echo &#8220;[default]&#8221; | sudo tee -a \/etc\/nsmb.conf<\/li>\n<li>echo &#8220;streams=yes&#8221; | sudo tee -a \/etc\/nsmb.conf<\/li>\n<\/ul>\n<p>What this does is enable the use of named data streams for all user accounts on the computer when using SMB (Server Message Block or &#8220;Samba&#8221;) network shares.<\/p>\n<p>I am in the process of testing how this works on Windows Home Server 2011 with Drive Bender installed (hopefully I don&#8217;t hose anything but it&#8217;s in the spirit of testing). The original Windows Home Server did suffer from a major data corruption bug with files and data streams but this was corrected in the first major update to the operating system (Power Pack 1). I&#8217;ll report back either way and let you know the results.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This might be a bit of an edge case for most people but for those of us with heterogeneous networks with a mixture of Windows and Mac OS X computers you may come across hidden files starting with &#8220;._&#8221; (so something like &#8220;._humptydumpty.doc&#8221;) and may or may not correspond with a filename of the same &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/mingersoft.com\/blog\/2011\/07\/the-apple-double-format-network-shares-and-utorrent\/\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[93,348,152,151,92,18,211],"tags":[1596,1597,1593,2257,1600,1302,1594,1595,693,1599,1598,1379,157,2291,1287],"class_list":["post-2665","post","type-post","status-publish","format-standard","hentry","category-hard-drive","category-macos","category-microsoft-operating-systems-technology","category-operating-systems","category-storage","category-technology","category-windows-home-server","tag-ads","tag-alternate-data-streams","tag-apple-double","tag-bittorrent","tag-data-fork","tag-drive-bender","tag-mac-os","tag-mac-os-x","tag-ntfs","tag-resource-fork","tag-terminal","tag-utorrent","tag-windows","tag-windows-home-server","tag-windows-home-server-2011","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/posts\/2665","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/comments?post=2665"}],"version-history":[{"count":0,"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/posts\/2665\/revisions"}],"wp:attachment":[{"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/media?parent=2665"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/categories?post=2665"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mingersoft.com\/blog\/wp-json\/wp\/v2\/tags?post=2665"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}