Here's an additional link:
On Thu, 26 Oct 2006, Bruce Allen wrote:
> My MacBook Pro has at least one unreadable sector on its disk (see below).
> Does anyone know how I can identify what file is at that bad sector so I can
> overwrite it and try and force the sector to reallocate? I found a tool
> called hfsdebug but don't see how to do what I need.
> I also found this script:
> which might do what's needed.
> host-57-195:~/projects/SF/sm5 ballen$ ./smartctl -l selftest /dev/disk0
> smartctl version 5.37 [i686-apple-darwin8.8.1] Copyright (C) 2002-6 Bruce
> Home page is http://smartmontools.sourceforge.net/
> === START OF READ SMART DATA SECTION ===
> SMART Self-test log structure revision number 1
> Num Test_Description Status Remaining LifeTime(hours)
> # 1 Extended offline Completed: read failure 10% 907
> # 2 Short offline Completed: read failure 90% 859
> # 3 Extended offline Completed: read failure 10% 854
> # 4 Extended offline Completed: read failure 10% 854
> # 5 Short offline Completed without error 00% 300