Page 1 (last mod. 8/20/87)
DVHTOOL(1M) DVHTOOL(1M)
NAME
dvhtool - command to modify disk volume header information
SYNOPSIS
/etc/dvhtool [-p [modify part nblks 1st_blk type] [list] ]
[-v [add unix_file dvh_file] [creat unix_file dvh_file]
[delete dvh_file] [list]]
[-d [modify name value] [list]]
DESCRIPTION
Dvhtool allows modification of the disk volume header
information, a block located at the beginning of all disk
media. The disk volume header consists of three main parts:
the device parameters, the partition table, and the volume
directory. The volume directory is used to locate such
things as the boot block and the bad sector table. The
partition table describes the logical device partitions.
The device parameters describe the specifics of a particular
disk drive.
Invoked with no arguments, dvhtool allows the user to
interactively examine and modify the disk volume header.
The read command reads the volume header from the specified
device, usually /dev/rip0vol. The vd, pt, and dp commands
first list their respective portions of the volume header
and them prompt for modifications. The write command writes
the possibly modified volume header to the device.
Invoked with arguments, dvhtool reads the volume header,
performs the specified operations, and then writes the
volume header. The following describes dvhtool's command
line arguments.
The -v flag provides four options for modifying the volume
directory information in the disk volume header. The creat
option allows creation of a volume directory entry with the
name dvh_file and the contents of unix_file. If an entry
already exists with the name dvh_file, it is overwritten
with the new contents. The add option adds a volume
directory entry with the name dvh_file and the contents of
unix_file. Unlike the creat option, the add options will not
overwrite an existing entry. The delete option removes the
entry named dvh_file, if it exists, from the volume
directory. The list option lists the current volume
directory contents.
The -p flag provides two options for modifying the partition
table information in the disk volume header. The modify
option allows modification of the partition entry number
specified by part. The number of blocks in the partition,
the first logical block number in the partition, and the
partition type are set as specified. The list option lists
Page 1 (last mod. 8/20/87)
DVHTOOL(1M) DVHTOOL(1M)
the current partition table contents.
The -d flag provides two options for modifying the device
parameter information in the disk volume header. The modify
option sets the name device parameter to the specified
value. The list option lists the current device parameters.
SEE ALSO
dkip(4)
BUGS
Only the command line options for manipulating the volume
directory are currently supported.
ORIGIN
MIPS Computer Systems
Page 2 (last mod. 8/20/87)