[9] | 1 | .TH PARTITION 8
|
---|
| 2 | .SH NAME
|
---|
| 3 | partition \- make a partition table
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | .B partition
|
---|
| 6 | .RB [ \-mfn ]
|
---|
| 7 | .I device
|
---|
| 8 | [\fItype\fP:]\fIlength\fP[\fB+*\fP] ...
|
---|
| 9 | .SH DESCRIPTION
|
---|
| 10 | .B Partition
|
---|
| 11 | makes a partition table on
|
---|
| 12 | .I device
|
---|
| 13 | using the types and sizes given. It may be used in combination with
|
---|
| 14 | .BR repartition (8)
|
---|
| 15 | for automatic installation of MINIX 3.
|
---|
| 16 | .PP
|
---|
| 17 | You may give up to four \fItype\fP:\fIlength\fP[\fB+*\fP] specifications
|
---|
| 18 | for the partitions. You may also specify holes before, between, and after
|
---|
| 19 | the partitions. A hole differs from a partition specification by not having
|
---|
| 20 | a type.
|
---|
| 21 | .PP
|
---|
| 22 | The first hole is by default 1 sector to make space for the primary
|
---|
| 23 | bootstrap and the partition table. The other holes are 0.
|
---|
| 24 | .PP
|
---|
| 25 | The
|
---|
| 26 | .I type
|
---|
| 27 | field is the type of the partitition in hexadecimal. The
|
---|
| 28 | .I length
|
---|
| 29 | field is the partition's size in sectors. The
|
---|
| 30 | .B +
|
---|
| 31 | or
|
---|
| 32 | .B *
|
---|
| 33 | may optionally be added to indicate that the partition must be expanded
|
---|
| 34 | to contain any leftover space on the device or to mark the partition active.
|
---|
| 35 | .PP
|
---|
| 36 | Instead of a length you may use the word
|
---|
| 37 | .B exist
|
---|
| 38 | to indicate that an existing partition of the given type must be kept
|
---|
| 39 | from the old partition table.
|
---|
| 40 | .PP
|
---|
| 41 | Partitions are padded out to cylinder boundaries, except for the first one,
|
---|
| 42 | it starts on track 1. Some operating systems care about this. MINIX 3 and
|
---|
| 43 | MS-DOS do not.
|
---|
| 44 | .SH OPTIONS
|
---|
| 45 | .TP
|
---|
| 46 | .B \-m
|
---|
| 47 | MINIX 3 only, no need to pad partitions. This is the default for subpartition
|
---|
| 48 | tables.
|
---|
| 49 | .TP
|
---|
| 50 | .B \-f
|
---|
| 51 | Force making a partition table even if the device is too small.
|
---|
| 52 | .TP
|
---|
| 53 | .B \-n
|
---|
| 54 | Play-act, don't write the new table, just show what it would look like.
|
---|
| 55 | .SH EXAMPLE
|
---|
| 56 | .B "partition /dev/hd0 01:16384 81:40000 81:2880* 06:20000+"
|
---|
| 57 | .PP
|
---|
| 58 | Partitions disk 0 into an 8 Mb DOS partition, 20 Mb MINIX 3 /usr, 1.44 Mb MINIX 3
|
---|
| 59 | / (active), and a DOS partition of at least 10 Mb at the end of the disk.
|
---|
| 60 | (06:0+ would have been ok too, it's just a sanity check.)
|
---|
| 61 | .SH "SEE ALSO"
|
---|
| 62 | .BR hd (4),
|
---|
| 63 | .BR part (8),
|
---|
| 64 | .BR repartition (8).
|
---|
| 65 | .SH AUTHOR
|
---|
| 66 | Kees J. Bot (kjb@cs.vu.nl)
|
---|