xref: /dragonfly/etc/etc.x86_64/disktab (revision 6e278935)
1# $FreeBSD: src/etc/etc.i386/disktab,v 1.20.2.2 2002/04/15 00:44:15 dougb Exp $
2# $DragonFly: src/etc/etc.i386/disktab,v 1.3 2007/05/18 17:14:12 dillon Exp $
3#
4# Disk geometry and partition layout tables.
5# Key:
6#	dt	controller type
7#	ty	type of disk (fixed, removeable, simulated)
8#	ns	#sectors/track
9#	nt	#tracks/cylinder
10#	nc	#cylinders/disk
11#	sc	#sectors/cylinder, ns*nt default
12#	su	#sectors/unit, sc*nc default
13#	se	sector size, DEV_BSIZE default
14#	rm	rpm, 3600 default
15#	sf	supports bad144-style bad sector forwarding
16#	sk	sector skew per track, default 0
17#	cs	sector skew per cylinder, default 0
18#	hs	headswitch time, default 0
19#	ts	one-cylinder seek time, default 0
20#	il	sector interleave (n:1), 1 default
21#	bs	boot block size, default BBSIZE
22#	sb	superblock size, default SBSIZE
23#	o[a-h]	partition offsets in sectors
24#	p[a-h]	partition sizes in sectors
25#	b[a-h]	partition block sizes in bytes
26#	f[a-h]	partition fragment sizes in bytes
27#	t[a-h]	partition types (filesystem, swap, etc)
28#
29# Obsolete keys no longer supported:
30#	b0	used to allow specification of boot0
31#	b1	used to allow specification of boot1
32#	d[0-4]  used to be drive-type-dependent parameters
33#
34#	Software driven bad sector tables are no longer supported (if
35#	they ever were in the first place).
36
37# Floppy formats:
38#
39# To make a filesystem on a floppy:
40#	fdformat [-f <size>] fd<drive>[.<size>]
41#	disklabel -B -r -w fd<drive>[.<size>] fd<size>
42#	newfs <opts> fd<drive>[.<size>]
43#
44# with <opts>:
45#	-t 2	- two heads
46#	-u 9|15|18 - sectors per track
47#	(using the default value of 1/4096 is not much useful for floppies)
48#	-l 1	- interleave 1 (for most floppies)
49#	-i 65536 - bytes of data per i-node
50#	(the default -i value will render you with a floppy wasting way
51#	too much space in i-node areas)
52#
53
54fd360:\
55	:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#40:\
56	:pa#720:oa#0:ba#4096:fa#512:\
57	:pb#720:ob#0:bb#4096:fb#512:\
58	:pc#720:oc#0:bc#4096:fc#512:
59
60fd720:\
61	:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#80:\
62	:pa#1440:oa#0:ba#4096:fa#512:\
63	:pb#1440:ob#0:bb#4096:fb#512:\
64	:pc#1440:oc#0:bc#4096:fc#512:
65
66fd1200|floppy5|5in|5.25in High Density Floppy:\
67	:ty=floppy:se#512:nt#2:rm#360:ns#15:nc#80:\
68	:pa#2400:oa#0:ba#4096:fa#512:\
69	:pb#2400:ob#0:bb#4096:fb#512:\
70	:pc#2400:oc#0:bc#4096:fc#512:
71
72fd1440|floppy|floppy3|3in|3.5in High Density Floppy:\
73	:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\
74	:pa#2880:oa#0:ba#4096:fa#512:\
75	:pb#2880:ob#0:bb#4096:fb#512:\
76	:pc#2880:oc#0:bc#4096:fc#512:
77
78#
79# Stressed floppy-formats.  No guarantees given.
80#
81
82fd800:\
83	:ty=floppy:se#512:nt#2:rm#300:ns#10:nc#80:\
84	:pa#1600:oa#0:ba#4096:fa#512:\
85	:pb#1600:ob#0:bb#4096:fb#512:\
86	:pc#1600:oc#0:bc#4096:fc#512:
87
88fd820:\
89	:ty=floppy:se#512:nt#2:rm#300:ns#10:nc#82:\
90	:pa#1640:oa#0:ba#4096:fa#512:\
91	:pb#1640:ob#0:bb#4096:fb#512:\
92	:pc#1640:oc#0:bc#4096:fc#512:
93
94fd1480:\
95	:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#82:\
96	:pa#2952:oa#0:ba#4096:fa#512:\
97	:pb#2952:ob#0:bb#4096:fb#512:\
98	:pc#2952:oc#0:bc#4096:fc#512:
99
100fd1720:\
101	:ty=floppy:se#512:nt#2:rm#300:ns#21:nc#82:\
102	:pa#3444:oa#0:ba#4096:fa#512:\
103	:pb#3444:ob#0:bb#4096:fb#512:\
104	:pc#3444:oc#0:bc#4096:fc#512:
105
106#
107# LS-120 floppy-format.
108#
109fd120m|floppy120|floppy120m|3.5in LS-120 Floppy:\
110	:ty=floppy:se#512:nt#8:rm#300:ns#32:nc#963:\
111	:pa#246528:oa#0:ba#4096:fa#512:\
112	:pb#246528:ob#0:bb#4096:fb#512:\
113	:pc#246528:oc#0:bc#4096:fc#512:
114
115#
116# Harddisk formats
117#
118qp120at|Quantum Peripherals 120MB IDE:\
119	:dt=ESDI:ty=winchester:se#512:nt#9:ns#32:nc#813:sf: \
120	:pa#13824:oa#0:ta=4.2BSD:ba#4096:fa#512: \
121	:pb#13824:ob#13824:tb=swap: \
122	:pc#234144:oc#0: \
123	:ph#206496:oh#27648:th=4.2BSD:bh#4096:fh#512:
124
125pan60|Panasonic Laptop's 60MB IDE:\
126	:dt=ST506:ty=winchester:se#512:nt#13:ns#17:nc#565:\
127	:pa#13260:oa#0:ta=4.2BSD:ba#4096:fa#512:\
128	:pb#13260:ob#13260:tb=swap: \
129	:pc#124865:oc#0: \
130	:ph#97682:oh#26520:th=4.2BSD:bh#4096:fh#512:
131
132mk156|toshiba156|Toshiba MK156 156Mb:\
133	:dt=SCSI:ty=winchester:se#512:nt#10:ns#35:nc#825:\
134	:pa#15748:oa#0:ba#4096:fa#512:ta=4.2BSD:\
135	:pb#15748:ob#15748:tb=swap:\
136	:pc#288750:oc#0:\
137	:ph#257250:oh#31500:bh#4096:fh#512:th=4.2BSD:
138
139cp3100|Connor Peripherals 100MB IDE:\
140	:dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \
141	:pa#12144:oa#0:ta=4.2BSD:ba#4096:fa#512: \
142	:pb#12144:ob#12144:tb=swap: \
143	:pc#202224:oc#0: \
144	:ph#177936:oh#24288:th=4.2BSD:bh#4096:fh#512:
145
146# a == root
147# b == swap
148# c == d == whole disk
149# e == /var
150# f == scratch
151# h == /usr
152
153cp3100new|Connor Peripherals 100MB IDE, with a different configuration:\
154	:dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \
155	:pa#15840:oa#0:ta=4.2BSD:ba#4096:fa#512: \
156	:pb#24288:ob#15840:tb=swap: \
157	:pc#202224:oc#0: \
158	:pd#202224:od#0: \
159	:pe#15840:oe#40128:te=4.2BSD:be#4096:fe#512: \
160	:pg#15840:og#55968:tg=4.2BSD:bg#4096:fg#512: \
161	:ph#130416:oh#71808:th=4.2BSD:bh#4096:fh#512:
162
163maxtor4380|Maxtor XT4380E ESDI :\
164	:dt=ESDI:ty=winchester:se#512:nt#15:ns#36:nc#1222:sf: \
165	:pa#21600:oa#0:ta=4.2BSD:ba#4096:fa#512:\
166	:pb#21600:ob#21600:tb=swap: \
167	:pc#659880:oc#0: \
168	:pd#216000:od#53200:td=4.2BSD:bd#4096:fd#512: \
169	:ph#398520:oh#269200:th=4.2BSD:bh#4096:fh#512:
170
171miniscribe9380|compaq38|Miniscribe 9380 ESDI :\
172	:ty=winchester:dt=ESDI:se#512:nt#15:ns#35:nc#1223:rm#3600:sf: \
173	:pa#21000:oa#0:ba#8192:fa#1024:ta=4.2BSD: \
174	:pb#42000:ob#21000:tb=swap: \
175	:pc#642075:oc#0: \
176	:pd#21000:od#63000:bd#8192:fd#1024:td=4.2BSD: \
177	:ph#556500:oh#84000:bh#8192:fh#1024:th=4.2BSD:
178
179ida4|compaq88|Compaq IDA (4 drives) :\
180	:ty=winchester:dt=IDA:se#512:nt#16:ns#63:nc#1644:rm#3600:\
181	:pa#20160:oa#0:ba#8192:fa#1024:ta=4.2BSD: \
182	:pb#80640:ob#20160:tb=swap: \
183	:pc#1659168:oc#0: \
184	:pd#201600:od#100800:bd#8192:fd#1024:td=4.2BSD: \
185	:pe#20160:oe#1310400:be#8192:fe#1024:te=4.2BSD: \
186	:ph#1008000:oh#302400:bh#8192:fh#1024:th=4.2BSD: \
187	:pg#302400:og#1330560:bg#4096:fg#512:tg=4.2BSD:
188
189fuji513|Fujitsu M22XXXX: \
190	:ty=winchester:dt=ESDI:se#512:nt#16:ns#63:nc#954:rm#3600:\
191	:pa#20160:oa#82656:ba#4096:fa#512:ta=4.2BSD: \
192	:pb#40320:ob#102816:tb=swap: \
193	:pc#961632:oc#0: \
194	:ph#656208:oh#143136:bh#4096:fh#512:th=4.2BSD:
195
196sony650|Sony 650 MB MOD|\
197	:ty=removable:dt=SCSI:se#512:nt#1:ns#31:nc#18600:ts#1:rm#4800:\
198	:pc#576600:oc#0:\
199	:pa#576600:oa#0:ta=4.2BSD:ba#8192:fa#1024:
200
201mta3230|mo230|IBM MTA-3230 230 Meg 3.5inch Magneto-Optical:\
202	:ty=removeable:dt=SCSI:rm#3600:\
203	:se#512:nt#64:ns#32:nc#216:sc#2048:su#444384:\
204	:pa#444384:oa#0:ba#4096:fa#0:ta=4.2BSD:\
205	:pc#444384:oc#0:
206
207minimum:ty=mfs:se#512:nt#1:rm#300:\
208	:ns#2880:nc#1:\
209	:pa#2880:oa#0:ba#4096:fa#512:\
210	:pc#2880:oc#0:bc#4096:fc#512:
211
212minimum2:ty=mfs:se#512:nt#1:rm#300:\
213	:ns#5760:nc#1:\
214	:pa#5760:oa#0:ba#4096:fa#512:\
215	:pc#5760:oc#0:bc#4096:fc#512:
216
217minimum3:ty=mfs:se#512:nt#1:rm#300:\
218	:ns#8640:nc#1:\
219	:pa#8640:oa#0:ba#4096:fa#512:\
220	:pc#8640:oc#0:bc#4096:fc#512:
221
222zip100|zip 100:\
223	:ty=removable:se#512:nc#96:nt#64:ns#32:\
224	:pa#196608:oa#0:ba#4096:fa#512:\
225	:pb#196608:ob#0:bb#4096:fb#512:\
226	:pc#196608:oc#0:bc#4096:fc#512:
227
228zip250|zip 250:\
229	:ty=removable:se#512:nc#239:nt#64:ns#32:\
230	:pa#489472:oa#0:ba#4096:fa#512:\
231	:pb#489472:ob#0:bb#4096:fb#512:\
232	:pc#489472:oc#0:bc#4096:fc#512:
233
234orb2200|orb22|orb:\
235	:ty=removable:ns#63:nt#128:nc#4273:sc#1008:su#4307184:se#512:\
236	:pa#4307184:oa#0:ba#8192:fa#1024:\
237	:pc#4307184:oc#0:bc#8192:fc#1024:
238
239