mkpar(8) CLIX mkpar(8)
NAME
mkpar - Creates or modifies a disk partition table
SYNOPSIS
/etc/mkpar [-f] rawdevice
FLAGS
-f Partitions a floppy disk.
DESCRIPTION
The mkpar command creates or modifies the partition information for any
disk device. The mkpar command first displays the capacity of rawdevice.
Then, mkpar reads the partition information from stdin and creates the
described partitions on rawdevice.
Each of the input lines describes a partition. The format of the input
line is shown below:
partition<Tab>modifier<Tab>size
partition The partition number should be in the first column.
modifier The modifier number should be in the second column.
size The partition size should be in the third column.
Any input data beyond the third column is ignored.
As each partition is created the partition information is echoed to
stdout. A start block is added to the output in column 4. The start
block is calculated from the cumulative sizes of previously specified
partitions.
The input format for mkpar is the same as the output format of parck.
This allows for a modified version of the partition table from parck to be
used as input to mkpar.
The End of Disk (EOD) partition is used by some utilities. The EOD
partition has a partition number of 0xff and a modifier of 0x0 with a
length of 0. An EOD partition should be included as the last partition.
NOTES
Each partition header requires one block for 512-byte block devices and
two blocks for 1024-block devices.
2/94 - Intergraph Corporation 1
mkpar(8) CLIX mkpar(8)
RELATED INFORMATION
Commands: parck(8)
Files: dc(7), fl(7), diskpar(4), floppypar(4)
2 Intergraph Corporation - 2/94