source: trunk/minix/man/man8/repartition.8@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

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