PREP(8) 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 divi- sion 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 parti- tions must have the names disk and partition; the disk par- tition 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 interac- tive mode to control editing the table. The single option -r (readonly) prohibits writing the table on disk. SEE ALSO floppy(3), hard(3) Page 1 Plan 9 (printed 12/22/24)