[comp.sys.mac.hardware] Disks: marking bad sectors?

ggw%wolves@cs.duke.edu (Gregory G. Woodbury) (01/11/91)

I don't think I'm the only one to face this particular problem.

Disks go bad occasionally, with a hard drive, you can try reformatting
and letting the lowlevel stuff do the lockouts, for a floppy, its hardly
worth worrying.  However there are several intermediate size hard-shell
floppys on the market that provide large capacities and where the
formatting software is fussy enough that bad blocks can make the medium
unuseable.

Is there a simple program or technique or utility set that allows one to
scan the medium for bad sectors and make them as used or link them into
a file so that they no longer get in the way.  I am aware of 1st Aid Kit
and some others to recover files with bad sectors, but I didn't see any
options to eliminate the bad sectors from future use.

If someone can point me to the proper docs for the disk file layout, I
might tackle such a job myself,  but I'd rather not re-invent the
wheel.
-- 
Gregory G. Woodbury @ The Wolves Den UNIX, Durham NC
UUCP: ...dukcds!wolves!ggw   ...mcnc!wolves!ggw           [use the maps!]
Domain: ggw@cds.duke.edu     ggw%wolves@mcnc.mcnc.org
[The line eater is a boojum snark! ]           <standard disclaimers apply>