|
|
1.1 root 1: .\" Copyright (c) 1983 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)diskpart.8 6.5 (Berkeley) 6/24/90
6: .\"
7: .TH DISKPART 8 "June 24, 1990"
8: .UC 4
9: .SH NAME
10: diskpart \- calculate default disk partition sizes
11: .SH SYNOPSIS
12: .B diskpart
13: [
14: .B \-p
15: ] [
16: .B \-d
17: ] [
18: .B \-s
19: size
20: ]
21: disk-type
22: .SH DESCRIPTION
23: .I Diskpart
24: is used to calculate the disk partition sizes based on the
25: default rules used at Berkeley. If the
26: .B \-p
27: option is supplied, tables suitable for inclusion in a device driver
28: are produced. If the
29: .B \-d
30: option is supplied, an entry suitable for inclusion in the disk
31: description file
32: .I /etc/disktab
33: is generated; c.f.
34: .IR disktab (5).
35: On disks that use
36: .IR bad144 \|-style
37: bad-sector forwarding,
38: space is normally left in the last partition on the disk
39: for a bad sector forwarding table, although this space
40: is not reflected in the tables produced. The space reserved
41: is one track for the replicated copies of the table and
42: sufficient tracks to hold a pool of 126 sectors to which bad sectors
43: are mapped. For more information, see
44: .IR bad144 (8).
45: The size of the disk may be limited with the
46: .B \-s
47: option, specifying the amount of the disk to be used.
48: This option is intended for other controllers that reserve some space at the end
49: of the disk for bad-sector replacements or other control areas,
50: even if not a multiple of cylinders.
51: .PP
52: The disk partition sizes are based on the total amount of
53: space on the disk as given in the table below (all values
54: are supplied in units of sectors). The `c' partition
55: is, by convention, used to access the entire physical disk.
56: The device driver tables include
57: the space reserved for the bad sector forwarding table in the `c' partition;
58: those used in the disktab and default formats exclude reserved tracks.
59: In normal operation, either the `g' partition is used, or the
60: `d', `e', and `f' partitions are used. The `g' and `f' partitions
61: are variable-sized, occupying whatever space remains after allocation
62: of the fixed sized partitions.
63: If the disk is smaller than 20 Megabytes, then
64: .I diskpart
65: aborts with the message ``disk too small, calculate by hand''.
66: .in +0.5i
67: .nf
68:
69: .ta \w'Partition 'u +\w'20-60 MB 'u +\w'61-205 MB 'u +\w'206-355 MB 'u +\w'356+ MB'u
70: Partition 20-60 MB 61-205 MB 206-355 MB 356+ MB
71: a 15884 15884 15884 15884
72: b 10032 33440 33440 66880
73: d 15884 15884 15884 15884
74: e unused 55936 55936 307200
75: h unused unused 291346 291346
76:
77: .fi
78: .in -0.5i
79: .PP
80: If an unknown disk type is specified,
81: .I diskpart
82: will prompt for the required disk geometry information.
83: .SH SEE ALSO
84: disktab(5),
85: bad144(8)
86: .SH BUGS
87: Most default partition sizes are based on historical artifacts
88: (e.g. RP06), and may result in unsatisfactory layouts.
89: .PP
90: When using the \-d flag, alternate disk names are not included
91: in the output.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.