BIM(8)

NAME
bim - pc532 boot image manager

SYNOPSIS
bim [-y] [-c command] [device]

DESCRIPTION
The pc532 has available an autoboot ROM monitor. This ROM monitor understands the BSD disklabel and expects a boot image directory following the disklabel. Also, it expects an image partition for the storage of bootable images. The image directory and the image partition is managed by. The device is the raw disk partition that includes the disklabel. The default value of device is /dev/rsd0c. bim directly accesses both the disklabel and the image partition directly from the raw disk device. It does not open the device corresponding to the boot partition.

The -y argument assumes a yes response to any questions bim would normally ask the user. It is mainly useful for scripting.

The -c command argument allows bim to execute commands given via the command line. This allows bim to be used from scripts. The -c command argument may be repeated up to 20 times. The commands will be executed in the order given.

DISK INITIALIZATION
bim is typically used as part of the initial setup on a disk. The disk must be partitioned by using disklabel(8), making sure there is a boot boot partition. This boot partition is often just after the disklabel. It must not include the disklabel. If bim does not detect a boot image directory, it asks if the user wants one created. From there, the operation of bim is completely command driven. The command interpreter is

COMMANDS
bim supports the following commands. There is on-line documentation for all commands.

add Adds an executable file to the image partition.

delete
    Deletes an image from the image partition.

default
    Sets the default image boot.

exit
    Exit.

header
    Print a small section of the disklabel.

help
    Print help.

images
    Print the image partition table.

init
    Initialize the image partition and associated partition table.

partitions
    Print the disklabel.

quit
    Terminate.

?   Print help.

For the details on these commands, ask for help from.

SEE ALSO
disklabel(8).

AUTHORS
Bruce Culbertson wrote the basic command interpreter for the pc532 ROM monitor. Philip A. Nelson took the command interpreter, modified it to be a more generic command interpreter and added the bim specific code.