summaryrefslogtreecommitdiff
path: root/etc/etc.pmax/disktab
blob: c60c333e7a95ed19b935f5a53d38714af02521be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
#	$OpenBSD: disktab,v 1.7 2001/01/28 23:31:29 niklas Exp $

#
#	@(#)disktab	8.1 (Berkeley) 6/9/93
#

# Disk geometry and partition layout tables. 
# Key:
#	dt	controller type
#	ty	type of disk (fixed, removeable, simulated)
#	d[0-4]	drive-type-dependent parameters
#	ns	#sectors/track
#	nt	#tracks/cylinder
#	nc	#cylinders/disk
#	sc	#sectors/cylinder, nc*nt default
#	su	#sectors/unit, sc*nc default
#	se	sector size, DEV_BSIZE default
#	rm	rpm, 3600 default
#	sf	supports bad144-style bad sector forwarding
#	sk	sector skew per track, default 0
#	cs	sector skew per cylinder, default 0
#	hs	headswitch time, default 0
#	ts	one-cylinder seek time, default 0
#	il	sector interleave (n:1), 1 default
#	bs	boot block size, default BBSIZE
#	sb	superblock size, default SBSIZE
#	o[a-h]	partition offsets in sectors
#	p[a-h]	partition sizes in sectors
#	b[a-h]	partition block sizes in bytes
#	f[a-h]	partition fragment sizes in bytes
#	t[a-h]	partition types (filesystem, swap, etc)
#	b[0-1]	primary and secondary bootstraps, optional
#
# All partition sizes contain space for bad sector tables unless
# the device drivers fail to support this. Smaller disks may
# not have all partitions and all disks have no defaults for
# the `h' partition. The strategy here is that `a' always
# has the same amount for all disks. The `b' partition is
# four times `a' while `c' is always the entire disk. The
# sum of `d', `e', and `f' is equal to `g' which is everything else.

rdroot|ramdiskroot|RAM-disk root FS image:\
	:ty=simulated:se#512:nc#24:nt#2:ns#128:\
	:ta=4.2BSD:oa#0:pa#6144:fa#512:ba#4096\
	:ob#0:pb#0:oc#0:pc#6144:

simpleroot:\
	:ty=winchester:\
	:dt=SCSI:\
	:ns#32:\
	:nt#64:\
	:nc#104:\
	:pa#81920:oa#0:ba#8192:fa#1024:ta=4.2BSD:\
	:pb#131072:ob#81920:tb=swap:\
	:pc#212992:oc#0:

rz22|RZ22|DEC RZ22 Winchester:\
	:dt=SCSI:ty=winchester:ns#33:nt#4:nc#776:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#69664:ob#32768:bb#8192:fb#1024:tb=swap:\
	:pc#102432:oc#0:bc#8192:fc#1024:

rz23|RZ23|DEC RZ23 Winchester:\
	:dt=SCSI:ty=winchester:ns#33:nt#8:nc#776:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\
	:pc#204864:oc#0:bc#8192:fc#1024:\
	:pd#13674:od#163840:bd#8192:fd#1024:\
	:pe#13674:oe#177514:be#8192:fe#1024:\
	:pf#13676:of#191188:bf#8192:ff#1024:\
	:pg#41024:og#163840:bg#8192:fg#1024:

rz23l|RZ23L|DEC RZ23L Winchester:\
	:dt=SCSI:ty=winchester:ns#39:nt#4:nc#1524:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#66690:ob#32768:bb#4096:fb#1024:tb=swap\
	:pc#237588:oc#0:bc#8192:fc#1024:\
	:pd#35135:od#99458:bd#8192:fd#1024:\
	:pe#35135:oe#134593:be#8192:fe#1024:\
	:pf#67860:of#169728:bf#8192:ff#1024:\
	:pg#138130:og#99458:bg#8192:fg#1024:

rz24|RZ24|DEC RZ24 Winchester:\
	:dt=SCSI:ty=winchester:ns#38:nt#8:nc#1348:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#131072:ob#32768:bb#4096:fb#1024:tb=swap:\
	:pc#409792:oc#0:bc#8192:fc#1024:\
	:pd#81984:od#163840:bd#8192:fd#1024:\
	:pe#81984:oe#245824:be#8192:fe#1024:\
	:pf#81984:of#327808:bf#8192:ff#1024:\
	:pg#245952:og#163840:bg#8192:fg#1024:

#
# The RZ24L uses ZBR, so (pc = #_logical_blocks) > ns * nt * nc.
# #_logical_blocks was obtained from the 'scu' "show pages" command.
#
rz24l|RZ24L|DEC RZ24L Winchester:\
	:dt=SCSI:ty=winchester:ns#65:nt#4:nc#1818:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#131072:ob#32768:bb#4096:fb#1024:tb=swap:\
	:pc#479350:oc#0:bc#8192:fc#1024:\
	:pd#105170:od#163840:bd#8192:fd#1024:\
	:pe#105170:oe#269010:be#8192:fe#1024:\
	:pf#105170:of#374180:bf#8192:ff#1024:\
	:pg#315510:og#163840:bg#8192:fg#1024:

# A DEC RZ25, configured so that all of the free partition IDs are at
# the end, etc.  A good setup to make a disk image from...
rz25|RZ25|DEC RZ25 SCSI:\
	:dt=SCSI::ty=winchester:ns#62:nt#9:nc#1476:\
	:pa#32768:oa#0:ba#8192:fa#1024:ta=4.2BSD:\
	:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\
	:pc#823608:oc#0:\
	:pd#600408:od#223200:bd#8192:fd#1024:td=4.2BSD:

# a DEC RZ25, as configured for 4.4BSD/pmax.
# larger than at least some real RZ25s, may be an RZ25l.
rz25x|RZ25x|4.4BSD DEC RZ25 Winchester:\
	:dt=SCSI:ty=winchester:ns#62:nt#9:nc#1476:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\
	:pc#832527:oc#0:bc#8192:fc#1024:\
	:pd#222896:od#163840:bd#8192:fd#1024:\
	:pe#222896:oe#386736:be#8192:fe#1024:\
	:pf#222895:of#609632:bf#8192:ff#1024:\
	:pg#668687:og#163840:bg#8192:fg#1024:

# a DEC RZ26,as configured for 4.4BSD/pmax.
# may be larger than your RZ26; add :su#: as appropriate.
rz26|RZ26|DEC RZ26 Winchester:\
	:dt=SCSI:ty=winchester:ns#57:nt#14:nc#2570:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\
	:pc#2050860:oc#0:bc#8192:fc#1024:\
	:pd#629006:od#163840:bd#8192:fd#1024:\
	:pe#629006:oe#792846:be#8192:fe#1024:\
	:pf#629008:of#1421852:bf#8192:ff#1024:\
	:pg#819200:og#163840:bg#8192:fg#1024:\
	:ph#1067820:oh#983040:bh#8192:fh#1024:

rz55|RZ55|DEC RZ55 Winchester:\
	:dt=SCSI:ty=winchester:ns#36:nt#15:nc#1224:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\
	:pc#649040:oc#0:bc#8192:fc#1024:\
	:pd#152446:od#163840:bd#8192:fd#1024:\
	:pe#152446:oe#316286:be#8192:fe#1024:\
	:pf#180308:of#468732:bf#8192:ff#1024:\
	:pg#485200:og#163840:bg#8192:fg#1024:

rz56|RZ56|DEC RZ56 Winchester:\
	:dt=SCSI:ty=winchester:ns#54:nt#15:nc#1632:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#131072:ob#32768:bb#4096:fb#1024:tb=swap:\
	:pc#1299174:oc#0:bc#8192:fc#1024:\
	:pd#292530:od#163840:bd#8192:fd#1024:\
	:pe#292530:oe#456370:be#8192:fe#1024:\
	:pf#550274:of#748900:bf#8192:ff#1024:\
	:pg#567666:og#163840:bg#8192:fg#1024:\
	:ph#567668:oh#731506:bh#8192:fh#1024:

#rz57|RZ57|DEC RZ57 Winchester:\
#	:dt=SCSI:ty=winchester:ns#71:nt#15:nc#1854:\
#	:pa#32768:ba#8192:fa#1024:\
#	:pb#184320:bb#4096:fb#1024:tb=swap:\
#	:pc#1954050:bc#8192:fc#1024:\
#	:pd#299008:bd#8192:fd#1024:\
#	:pe#299008:be#8192:fe#1024:\
#	:pf#524546:bf#8192:ff#1024:\
#	:pg#614400:bg#8192:fg#1024:\
#	:ph#1122562:bh#8192:fh#1024:

rz57|RZ57|DEC RZ57 Winchester:\
	:dt=SCSI:ty=winchester:ns#70:nt#15:nc#1861:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#184320:ob#32768:bb#8192:fb#1024:tb=swap:\
	:pc#1954050:oc#0:bc#8192:fc#1024:\
	:pd#299008:od#831488:bd#8192:fd#1024:\
	:pe#299008:oe#1130496:be#8192:fe#1024:\
	:pf#524546:of#1429504:bf#8192:ff#1024:\
	:pg#614400:og#217088:bg#8192:fg#1024:\
	:ph#1122562:oh#831488:bh#8192:fh#1024:

# NOTE: The RZ58 uses a recording technique called zoned recording.
#   Using this technique, the number of sectors per track will vary
#   depending on what zone of the disk is in use (simply multiplying 
#   ns*nt*nc does not give true capacity of the drive).  The ns (number
#   of sectors per track) is calculated by "ns = total sectors/(nt*nc)"
#   and is a rounded value.  Therefore, the value "ns" is an approximation,
#   not a true representation, of what is stored on disk. 
#
#   The 'c' partition listed below gives the true size of the RZ58
#   (this information can be obtained by use of the DEVGETGEOM ioctl). 
#
#   The NetBSD :su#: entry is derived from the 'c' partition size.
#    

rz58|RZ58|DEC RZ58 Winchester:\
	:ty=winchester:ns#85:nt#15:nc#2112:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:su#2698061:\
	:pb#131072:ob#32768:bb#4096:fb#1024:tb=swap:\
	:pc#2698061:oc#0:bc#8192:fc#1024:\
	:pd#844800:od#163840:bd#8192:fd#1024:\
	:pe#844800:oe#1008640:be#8192:fe#1024:\
	:pf#844620:of#1853440:bf#8192:ff#1024:\
	:pg#819200:og#163840:bg#8192:fg#1024:\
	:ph#1715019:oh#983040:bh#8192:fh#1024:

xt8760|XT8760|Maxtor XT8760 Winchester:\
	:dt=SCSI:ty=winchester:ns#54:nt#15:nc#1616:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\
	:pc#1308930:oc#0:bc#8192:fc#1024:\
	:pd#152446:od#163840:bd#8192:fd#1024:\
	:pe#152446:oe#316286:be#8192:fe#1024:\
	:pf#840198:of#468732:bf#8192:ff#1024:\
	:pg#1145090:og#163840:bg#8192:fg#1024:

ep976|EP976|EPSON HMD-976 Winchester:\
	:dt=SCSI:ty=winchester:ns#34:nt#6:nc#670:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#69664:ob#32768:bb#8192:fb#1024:tb=swap:\
	:pc#136680:oc#0:bc#8192:fc#1024:\
	:pg#34248:og#102432:bg#8192:fg#1024:

# entry for a Fujitsu fu2263sa half-height drive using ZBR. (UNTESTED)
#
# Note again (ns * nt * nc) > (actual drive size), so we need
# an "su#" entry with the actual size.
#
#
fu2263sa|FU2263SA|Fujitsu 2263SA:\
	:dt=SCSI:ty=winchester:ns#53:nt#15:nc#1648:\
	:su#1312344:\
	:pa#32768:oa#0:ba#8192:fa#1024:\
	:pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\
	:pc#1312344:oc#0:bc#8192:fc#1024:\
	:pd#1148504:od#163840:bb#8192:fb#1024:ta=4.2bsd:\

# A Fujitsu fu2524fa full-height drive using ZBR.
fu2624fa|FU2624FA|Fujitsu 2624FA:\
        :dt=SCSI:ty=winchester:ns#63:nt#11:nc#1429:\
        :su#1015812:\
        :pa#32768:oa#0:ba#4096:fa#512:ta=4.2bsd:\
        :pb#131072:ob#32768:bb#8192:fb#1024:tb=swap:\
        :pc#1015812:oc#0::bc#8192:fc#1024:\
        :pd#10240:od#163840:bd#4096:fd#512:\
        :pe#409600:oe#174080:be#8192:fe#1024:\
        :pf#432132:of#583680:bf#8192:ff#1024:\
        :pg#851972:og#163840:bg#8192:fg#1024:\
        :ph#0:oh#0:bh#8192:fh#1024: