{"id":1891,"date":"2003-10-29T15:17:28","date_gmt":"2003-10-30T07:17:28","guid":{"rendered":"http:\/\/michaelhans.com\/eclecticism\/2003\/10\/29\/automatic-defrag-in-panther\/"},"modified":"2019-12-06T10:18:34","modified_gmt":"2019-12-06T18:18:34","slug":"automatic-defrag-in-panther","status":"publish","type":"post","link":"https:\/\/michaelhans.com\/eclecticism\/2003\/10\/29\/automatic-defrag-in-panther\/","title":{"rendered":"Automatic defrag in Panther"},"content":{"rendered":"<p>I have no idea whether or not this is a standard feature in other Unix systems, but it appears that there&#8217;s a very handy little &#8220;under-the-radar&#8221; feature in Mac OS X 10.3\/Panther &#8212; <a href=\"http:\/\/arstechnica.infopop.net\/OpenTopic\/page?a=tpc&amp;s=50009562&amp;f=8300945231&amp;m=9900929295\" title=\"Panther has automatic defragging?\">automatic file defragmentation<\/a>.<\/p>\n<blockquote><p>\n  Everytime an application opens a file for reading, HFS+ checks if the file is fragmented and is less than 20MB in size. If so, it copies the file&#8217;s contents to a continuous region on the disk and frees up the previously allocated blocks.\n<\/p><\/blockquote>\n<p>What a wonderfully convenient feature. Even nicer, when someone asked if there were any official confirmation from Apple about the feature, someone else posted the <a href=\"http:\/\/arstechnica.infopop.net\/OpenTopic\/page?a=tpc&amp;s=50009562&amp;f=8300945231&amp;m=9900929295&amp;r=5740979295#5740979295\" title=\"posted October 28, 2003 23:16\">source code<\/a> from the Darwin (command-line only open source) version of the core system.<\/p>\n<p>(via <a href=\"http:\/\/macslash.org\/article.pl?sid=03\/10\/29\/190237\" title=\"OS X 10.3 Has Built-in File Defragmentation\">MacSlash<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Everytime an application opens a file for reading, HFS+ checks if the file is fragmented and is less than 20MB in size. If so, it copies the file&#8217;s contents to a continuous region on the disk and frees up the previously allocated blocks.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2039],"tags":[65],"_links":{"self":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/1891"}],"collection":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/comments?post=1891"}],"version-history":[{"count":0,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/1891\/revisions"}],"wp:attachment":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/media?parent=1891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/categories?post=1891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/tags?post=1891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}