Skip to content


Automatic defrag in Panther

I have no idea whether or not this is a standard feature in other Unix systems, but it appears that there’s a very handy little “under-the-radar” feature in Mac OS X 10.3/Panther — automatic file defragmentation.

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’s contents to a continuous region on the disk and frees up the previously allocated blocks.

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 source code from the Darwin (command-line only open source) version of the core system.

(via MacSlash)

Posted in Technology. See also: Darwin Awards | Site statistics are back | Thoughts on the keynote | LJ-style links for Ecto | R.I.P. Opera .

One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. This is a standard UNIX thing: you don’t worry about fragmentation on UNIX-based systems (those based on UFS or FFS). It’s generally in the 1-2% range.

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.

Note: This post is over 5 years old. You may want to check later in this blog to see if there is new information relevant to your comment.