repartition - load a partition table
repartition device [partition-file]
Repartition uploads a new partition table for the partitions of device.
The table is obtained from the first sector of partition-file if given,
device otherwise. Device may refer to the whole drive or a primary
partition, depending on whether you want to upload a partition or a
subpartition table. The partitions will be truncated to fit within the
enclosing device like the disk driver does, unless the numbers are coming
repartition /dev/hd4 /etc/hd4.table
Reload the partition table of drive 0 setting /dev/hd[1-4], and the
subpartition table of /dev/hd4 setting /dev/hd4[a-d] using a file. The
latter may be useful if you need more than the 4 subpartitions a single
Minix partition gives you.
The new table is printed on standard output.
The disk must be in use for the changes to stick. The partition table of
an idle disk will be reloaded on the first open.
Kees J. Bot (email@example.com)