There's always pdisk(1) to manipulate Apple partition maps, but I don't know if it'll get you what you want with respect to the surace scanning, pretty sure it'll let you reformat the hard disk and create a custom setup. The man page is also in place so you can look into it. Hope that helps,... Juan On Feb 17, 2004, at 11:47 PM, Alexandre Gauthier wrote: > This is a shot in the dark, but you may want to research fsck_hfs > (fsck) > > -----Original Message----- > From: Mac OS X Unix [mailto:X-Unix at lists.themacintoshguy.com] On > Behalf Of > Alex > Sent: 17 février 2004 20:20 > To: Mac OS X Unix > Subject: [X-Unix] Disk Formatting > > I want to format a hard disk, scan the surface for bad blocks, and map > out the bad blocks, if any. Is there a CLI tool for this job? > > TIA, f >