PREP(8)
NAME
disk/prep − make disk partition table
SYNOPSIS
disk/prep [ -r ] special
DESCRIPTION
A partition table is stored on a disk to specify the division of the physical disk into a set of logical units. On Plan 9 the partition table is a list of triples: name, starting sector, and ending sector. The first two partitions must have the names disk and partition; the disk partition records the starting and ending sectors for the whole disk, and the partition partition, typically the last sector on the disk, holds the partition table itself.
Special is the maximal prefix of names of the logical units on the disk, for example #w/hd0. Prep reads and prints the associated partition table and then enters a simple interactive mode to control editing the table.
The single option -r (readonly) prohibits writing the table on disk.
SEE ALSO
Plan 9 — January 03, 1993