The example creates and initializes an empty hardware diagnostics
partition SYS$DIAGNOSTICS.TMP within the cluster-common area of
the target system disk. (The actual diagnostic partition name is
SYS$DIAGNOSTICS.SYS.) The diagnostic partition is comprised of
256,000 blocks, and is subsequently registered within the OpenVMS
I64 bootblock structures using the DCL command SET BOOTBLOCK.
As with the SYS$EFI.SYS example, this example deliberately shows
the hypothetical partition filename SYS$DIAGNOSTICS.TMP and not
the actual partition SYS$DIAGNOSTICS.SYS partition filename.
Use of the actual partition name would replace any existing
diagnostics partition.
When a new diagnostic partition is created, or is relocated on
the system disk, or is deleted, use the SET BOOTBLOCK command
or invoke the sys$setboot image directly to update the OpenVMS
I64 bootblock and related structures accordingly. Use the SET
FILE/NOMOVE command to prevent a defragmentation tool from
erroneously relocating the file.