Rev | Line | |
---|
[9] | 1 | .TH REPARTITION 8
|
---|
| 2 | .SH NAME
|
---|
| 3 | repartition \- load a partition table
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBrepartition\fP \fIdevice\fP [\fIpartition-file\fP]
|
---|
| 6 | .SH DESCRIPTION
|
---|
| 7 | .B Repartition
|
---|
| 8 | uploads a new partition table for the partitions of
|
---|
| 9 | .IR device .
|
---|
| 10 | The table is obtained from the first sector of
|
---|
| 11 | .I partition-file
|
---|
| 12 | if given,
|
---|
| 13 | .I device
|
---|
| 14 | otherwise.
|
---|
| 15 | .I Device
|
---|
| 16 | may refer to the whole drive or a primary partition, depending on whether you
|
---|
| 17 | want to upload a partition or a subpartition table. The partitions will be
|
---|
| 18 | truncated to fit within the enclosing device like the disk driver does,
|
---|
| 19 | unless the numbers are coming from
|
---|
| 20 | .IR partition-file .
|
---|
| 21 | .SH EXAMPLES
|
---|
| 22 | repartition /dev/hd0
|
---|
| 23 | .br
|
---|
| 24 | repartition /dev/hd4 /etc/hd4.table
|
---|
| 25 | .PP
|
---|
| 26 | Reload the partition table of drive 0 setting /dev/hd[1\-4], and the
|
---|
| 27 | subpartition table of /dev/hd4 setting /dev/hd4[a\-d] using a file.
|
---|
| 28 | The latter may be useful if you need more than the 4 subpartitions a
|
---|
| 29 | single MINIX 3 partition gives you.
|
---|
| 30 | .SH DIAGNOSTICS
|
---|
| 31 | The new table is printed on standard output.
|
---|
| 32 | .SH FILES
|
---|
| 33 | /dev/hd[0-9]
|
---|
| 34 | .SH "SEE ALSO"
|
---|
| 35 | .BR hd (4),
|
---|
| 36 | .BR part (8).
|
---|
| 37 | .SH BUGS
|
---|
| 38 | The disk must be in use for the changes to stick. The partition table of
|
---|
| 39 | an idle disk will be reloaded on the first open.
|
---|
| 40 | .SH AUTHOR
|
---|
| 41 | Kees J. Bot (kjb@cs.vu.nl)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.