EFI$HELP.HLB  —  SHOW

1  –  BPB

    Displays the contents of the BIOS Parameter Block.

    Format

      SHOW BPB  volume

1.1  –  Parameter

 volume

    The target FAT volume for the command.

1.2  –  Qualifiers

1.2.1    /BLOCK

       /BLOCK=lbn

    The sector to be formatted as the BIOS Parameter Block (BPB). If
    not specified, the default will be the calculated sector for the
    current disk.

1.3  –  Description

    The SHOW BPB command is a diagnostic, and used to review the
    contents of the disk BIOS Parameter Block.

                                   NOTE

       Not immediately useful to users. This command is solely
       intended as a low-level disk diagnostic and debugging tool.

 EFI$CP> sho bpb efi:

 BPB: BIOS Parameter Block

 OEM Name          : <HP VMS  >
 Sector Size       : 512 Bytes
 Cluster Size      : 4 Sectors
 Allocation unit   : 2048 Bytes (sector size * cluster size)
 Reserved Sectors  : 1
 Max Directories   : 512 (Root Entries)
 FAT copies        : 2
 Media Code        : Hard Disk
 Jump Instruction  : 0xeb      (normal/expected)
 FAT Sectors 16    : 0x00fa
 Sectors per Track : 22
 Heads             : 23
 Sectors Hidden    : 0
 Total Sectors 16  : 0
 Total Sectors 32  : 256000
 Volume Size       : 256000 Sectors
                   : 131072000 Bytes

 FAT16 has been detected
 Volume claims to be <FAT16   >.

 FAT16 Boot Record Extension:
 Logical Drive     : 0
 Boot Signature    : 0x29
 Volume Serial #   : BA51-3A45   (0xba513a45)
 Volume Label      : E8_3_1H1    (bootsig)
 End Marker        : 0xaa55      (valid)

 OpenVMS EFI$CP Version
 EFI$CP Version    : EFI$CP V6.0-1
 FAT Variant       : 1

2  –  CHAIN

    Displays the contents of the FAT chain for the specified file.

    Format

      SHOW CHAIN  filename

2.1  –  Parameter

 filename

 filename

    The name of the file associated with the target FAT chain.

2.2  –  Description

    The SHOW CHAIN command is a diagnostic, and used to review the
    contents of the FAT disk structures.

                                   NOTE

       Not immediately useful to users. This command is solely
       intended as a low-level disk diagnostic and debugging tool.

    EFI$CP> show chain login.com
    Cluster chain for <LOGIN.COM>

    File Attribute(s) : 0x00000020
                      : Modified; Archive Needed
    File Size         : 7418 Bytes, 15 sectors
                      : 250 bytes used in partially-written last sector
    First cluster     : 0x00000006

          --- Cluster : Next Cluster ---
           0x00000006 : 0x00000007
           0x00000007 : 0x00000008
           0x00000008 : 0x00000009
           0x00000009 : EOC

    Allocated Storage : 4 clusters
                      : 16 sectors
                      : 512 bytes per sector
                      : 4 sectors per cluster

    EFI$CP>

3  –  FAT

    Displays the contents of the FAT.

    Format

      SHOW FAT  volume

3.1  –  Parameter

 volume

    The target FAT volume for the command.

3.2  –  Description

    The SHOW FAT command is used to review the contents of the
    primary File Allocation Table (FAT). This command can be used
    to display a lot of detail or just a summary.

3.3  –  Qualifiers

3.3.1    /NOBLOCK

    The block dump is omitted

3.3.2    /NOLOG

    Output is supressed

3.3.3    /SYMBOLS

    Creates global DCL symbols that contain the size information
    about the volume.

    EFICP$CLUSTER_SIZE - size of a disk cluster

    EFICP$FREE_BYTES - Number of bytes available for use on disk

    EFICP$FREE_CLUSTERS - Number of free clusters

    EFICP$TOTAL_BYTES - Total amount of bytes on disk

 EFI$CP> SHOW FAT EFI:

 Current Contents of FAT16 File Allocation Table:

 Dump of disk map:  key: Bad(?); Reserved(=); Free(-); Occupied(+); EOC(*)

 0x0000: ==-*****++++++++++++++++++++++++
    .
    .
    .
 0x1660: ++++++++++++++++++++++++++++++++
 0x1680: ++++*******---------------------
         Block of 1814 free FAT entries suppressed
 0xf960: --------------------------

 FAT size:                        250 sectors, 128000 bytes
 FAT array size:                  64000
 FAT bytes per sector:            512
 FAT sectors per cluster:         4
 FAT bytes per cluster:           2048
 FAT clusters available:          63866
 FAT total disk space:            130797568 bytes
 FAT reserved cluster count:      2
 FAT first free cluster:          2
 FAT free cluster count:          58096
 FAT bytes available on disk:     118980608

 EFI$CP>

 EFI$CP> sho fat/noblock efi:

 Current Contents of FAT16 File Allocation Table:

 FAT size:                        250 sectors, 128000 bytes
 FAT array size:                  64000
 FAT bytes per sector:            512
 FAT sectors per cluster:         4
 FAT bytes per cluster:           2048
 FAT clusters available:          63866
 FAT total disk space:            130797568 bytes
 FAT reserved cluster count:      2
 FAT first free cluster:          2
 FAT free cluster count:          58096
 FAT bytes available on disk:     118980608

 EFI$CP>

 EFI$CP> sho fat/nolog/symbols efi:
 EFI$CP> Exit
 $ sho sym eficp$*
   EFICP$CLUSTER_SIZE == "2048"
   EFICP$FREE_BYTES == "118980608"
   EFICP$FREE_CLUSTERS == "58096"
   EFICP$TOTAL_BYTES == "130797568"
 $

4  –  GPT

    Formats and displays the contents of the specified sector as a
    GUID Partition Table (GPT) sector.

    This GPT is assumed located within the target FAT volume
    structure as mounted by this utility, and accordingly may or
    may not be the same as the GPT structure found at the front of
    the physical volume.

    Format

      SHOW GPT  volume

4.1  –  Parameter

 volume

    The target FAT volume for the command.

4.2  –  Qualifiers

4.2.1    /LOGICAL_IO

    Specifies that the target GPT is to be accessed using Logical I/O
    operations.

    If neither /LOGICAL_IO nor /VIRTUAL_IO is specified, GPT access
    using Virtual I/O will be attempted first and followed by an
    attempt to use Logical I/O if [000000]GPT.SYS is not found.

    If the file [000000]GPT.SYS is correctly placed on the disk, the
    output of /LOGICAL_IO and /VIRTUAL_IO will be the same.

4.2.2    /VIRTUAL_IO

    Specifies that the target GPT is to be accessed using Virtual I/O
    operations.

    If neither /LOGICAL_IO nor /VIRTUAL_IO is specified, GPT access
    using Virtual I/O will be attempted first and followed by an
    attempt to use Logical I/O if [000000]GPT.SYS is not found.

    If the file [000000]GPT.SYS is correctly placed on the disk, the
    output of /LOGICAL_IO and /VIRTUAL_IO will be the same.

4.3  –  Description

    The SHOW GPT command is a diagnostic, and used to review the
    contents of the disk GUID Partition Table for the specified
    target partition or device.

                                   NOTE

       This command is not immediately useful to users. This
       command is solely intended as a low-level disk diagnostic
       and debugging tool.

    EFI$CP> show gpt foo:
    Master Boot Record (MBR) not present or not valid; disk is not partitioned
    EFI$CP>

5  –  MBR

    Displays the contents of the default or of the specified sector
    as a Master Boot Record (MBR) structure.

                                   NOTE

       The FAT partition typically mounted with this utility
       does not include a Master Boot Record (MBR) structure. An
       entire OpenVMS I64 system disk will include a Legacy or a
       Protective MBR, however. To display the contents of the
       disk-level bootblock structures, please see the SYS$SETBOOT
       foreign-command interface.

    Format

      SHOW MBR  volume

5.1  –  Parameter

 volume

    The target FAT volume for the command.

5.2  –  Qualifiers

5.2.1    /BLOCK

       /BLOCK=lbn

    The sector to be formatted as a Master Boot Record (MBR). If
    not specified, the default will be the calculated sector for the
    current disk.

5.3  –  Description

    The SHOW MBR command is a diagnostic, and used to review the
    contents of the disk Master Boot Record for the specified target
    partition or device.

                                   NOTE

       Not immediately useful to users. This command is solely
       intended as a low-level disk diagnostic and debugging tool.

    EFI$CP> show mbr foo:
    Master Boot Record (MBR) not present or not valid; disk is not partitioned
    EFI$CP>

6  –  VERSION

    Displays the version of the EFI$CP software.

    Format

      SHOW VERSION

6.1  –  Description

    The SHOW VERSION command displays the version of the EFI$CP
    software presently in use.
Close Help