MKPT(8) GENIX Programmer's Manual MKPT(8)
NAME
mkpt - change the disk partition tables
DESCRIPTION
Mkpt is a standalone program that may be used to edit the drive
header in order to modify the origin and/or size of the filesystem
partitions on a drive. The size of a partition is specified in disk
sectors, not filesystem blocks.
Mkpt uses the standard notation of the standalone I/O library in
identifying a partition to be modified. A partition is specified as
dc(x,y), where x refers to the unit number of the drive, and y
refers to the filesystem partition that is to be modified.
The program terminates when it receives a carriage return in
response to the prompt for a partition to modify. Entering a car-
riage return in response to other prompts will zero that field.
Invalid input detected in any response will cause a termination of
that cycle, without modifying any field changed during that cycle.
If a partition is to be changed, any filesystems that will be
affected by the changes should first be dumped to tape. Next, run
mkpt and make the appropriate modifications to the partition table.
A new filesystem should then be built with mkfs(8). After the new
filesystem has been built, restore the affected filesystems from the
dump tape.
DIAGNOSTICS
The diagnostics are intended to be self explanatory.
FILES
/usr/include/sys/disk.h disk header
SEE ALSO
dc(4), dcutest(8)
BUGS
An equivalent facility that operates under a running UNIX system
should be available.
Printed 11/16/83 1