{"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":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:12980,&quot;href&quot;:&quot;http:\\\/\\\/arstechnica.infopop.net\\\/OpenTopic\\\/page?a=tpc&amp;s=50009562&amp;f=8300945231&amp;m=9900929295&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20031024022749\\\/http:\\\/\\\/arstechnica.infopop.net:80\\\/OpenTopic\\\/page?a=tpc&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-03-12 04:27:43&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-04-04 08:02:14&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-04-11 17:12:24&quot;,&quot;http_code&quot;:404}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-11 17:12:24&quot;,&quot;http_code&quot;:404},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:12981,&quot;href&quot;:&quot;http:\\\/\\\/arstechnica.infopop.net\\\/OpenTopic\\\/page?a=tpc&amp;s=50009562&amp;f=8300945231&amp;m=9900929295&amp;r=5740979295#5740979295&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20031024022749\\\/http:\\\/\\\/arstechnica.infopop.net:80\\\/OpenTopic\\\/page?a=tpc&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-03-12 04:27:45&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-04-11 17:12:26&quot;,&quot;http_code&quot;:404}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-04-11 17:12:26&quot;,&quot;http_code&quot;:404},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:12982,&quot;href&quot;:&quot;http:\\\/\\\/macslash.org\\\/article.pl?sid=03\\\/10\\\/29\\\/190237&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<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":{"footnotes":""},"categories":[2039],"tags":[65],"class_list":["post-1891","post","type-post","status-publish","format-standard","hentry","category-apple","tag-technology"],"_links":{"self":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/1891","targetHints":{"allow":["GET"]}}],"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}]}}