Commit | Line | Data |
---|---|---|
d824bd5b C |
1 | .TH DISKPART 8 "26 February 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | diskpart \- calculate default disk partition sizes | |
5 | .SH SYNOPSIS | |
6 | .B diskpart | |
7 | [ | |
8 | .B \-p | |
9 | ] [ | |
10 | .B \-d | |
11 | ] | |
12 | disk-type | |
13 | .SH DESCRIPTION | |
14 | .I Diskpart | |
15 | is used to calculate the disk partition sizes based on the | |
16 | default rules used at Berkeley. If the | |
17 | .B \-p | |
18 | option is supplied, tables suitable for inclusion in a device driver | |
19 | are produced. If the | |
20 | .B \-d | |
21 | option is supplied, an entry suitable for inclusion in the disk | |
22 | description file | |
23 | .I /etc/disktab | |
24 | is generated; c.f. | |
25 | .IR disktab (5). | |
26 | Space is always left in the last physical partition on the disk | |
27 | for a bad sector forwarding table. The space reserved for this | |
28 | table occupies 3 tracks. For more information, see | |
29 | .IR bad144 (8). | |
30 | .PP | |
31 | The disk partition sizes are based on the total amount of | |
32 | space on the disk as give in the table below. The `c' partition | |
33 | is, by convention, used to access the entire physical disk, including | |
34 | the space reserved for the bad sector forwarding table. | |
35 | In normal operation, either the `g' partition is used, or the | |
36 | `d', `e', and `f' partitions are used. The `g' and `f' partitions | |
37 | are variable sized, occupying whatever space remains after allocation | |
38 | of the fixed sized partitions. | |
39 | If the disk is smaller than 20 Megabytes, then | |
40 | .I diskpart | |
41 | aborts with the message ``disk too small, calculate by hand''. | |
42 | .in +0.5i | |
43 | .nf | |
44 | ||
45 | .ta \w'Partition 'u +\w'20-60 MB 'u +\w'61-205 MB 'u +\w'206-355 MB 'u +\w'356+ MB'u | |
46 | Partition 20-60 MB 61-205 MB 206-355 MB 356+ MB | |
47 | a 15884 15884 15884 15884 | |
48 | b 10032 33440 33440 66880 | |
49 | d 15884 15884 15884 15884 | |
50 | e unused 55936 55936 307200 | |
51 | h unused unused 291346 291346 | |
52 | ||
53 | .fi | |
54 | .in -0.5i | |
55 | .PP | |
56 | If an unknown disk type is specified, | |
57 | .I diskpart | |
58 | will prompt for the required disk geometry information. | |
59 | .SH SEE ALSO | |
60 | disktab(5), | |
61 | bad144(8) | |
62 | .SH BUGS | |
63 | Certain default partition sizes are based on historical artifacts | |
64 | (e.g. RP06), and may result in unsatisfactory layouts. | |
65 | .PP | |
66 | When using the \-d flag, alternate disk names are not included | |
67 | in the output. |