EFI$CP permits access to OpenVMS I64 bootable device structures. The example shows use of the LD logical disk capabilities and a backing file, though EFI$CP operations with a device are entirely similar once the LD device is connected. This section contains both an example and a detailed description.
1 – Example
$ LD CREATE SYS$SCRATCH:LD.DAT/SIZE=2880 $ LD CONNECT SYS$SCRATCH:LD.DAT LDA1: $ RUN SYS$SYSTEM:EFI$CP EFI$CP> initialize LDA1: EFI/NOLOG EFI$CP> mount LDA1: EFI/NOLOG EFI$CP> CREATE/DIRECTORY LDA1:\EFI\ EFI$CP> CREATE/DIRECTORY LDA1:\EFI\VMS\ EFI$CP> DISMOUNT LDA1: EFI$CP> EXIT
2 – Description
The example creates, connects, initializes and creates two directories on an LD logical disk device. The LD device size shown was explicitly chosen to match a common FAT12 floppy disk block size, per FAT12 requirements. This particular FAT12 volume is presently too small for the current OpenVMS I64 bootstrap files IPB.EXE and VMS_LOADER.EFI.