# @(#)install:badspots/appendmanu	35.3
# Read And Append Manufacturer's Defect List Method Description
# Copyright 1988, Motorola, Inc.

BadSpotsName=appendmanu
BadSpotsLetter=A
BadSpotsTitle="Read manufacturer's defect list and append user entries."
BadSpotsDescription=`0<<!!! cat -

This method of creating the bad spots list associated to the
installation disk drive causes the manufacturer's defect list
to be read from the disk drive and then appended to by the user
with additional bad spots.

The manufacturer's defect list differs from the dinit(1M) bad
spot list in that the manufacturer has reserved certain areas
of the disk explicitly for this list, which is then written
on the disk by the manufacturer; the dinit(1M) bad spots list
is created by dinit(1M) during the format disk operation and is
referenced by the operating system when mapping-out bad disk spots.
The dinit(1M) bad spot list should be a super-set of the
manufacturer's defect list plus any additional bad spots found
by the factory or the user during use.

Errors occurring when executing this method may be indicative of
a disk drive that does not have a manufacturer's defect list.

!!!`
BadSpotsScript=`0<<!!!! cat -
0<<!!! cat -
		if \\\\\\${RootDiskReadDefectListCommand} \\\\\\\\
			\\\\\\${BadSpotsDirectory}/\\\\\\${RootDevice} \\\\\\\\
			/dev/rdsk/\\\\\\${RootDevice}s7
		then
			appendSpots=true
		else
			0<<DONE 1>&2 cat -

ERROR: Failed to read manufacturer's defects list.

DONE
			false
		fi
!!!
!!!!`
