disktab revision 130151
150472Speter# $FreeBSD: head/etc/disktab 130151 2004-06-06 11:46:29Z schweikh $
238738Sbrian#
3130151Sschweikh# Disk geometry and partition layout tables.
437Srgrimes# Key:
537Srgrimes#	dt	controller type
637Srgrimes#	ty	type of disk (fixed, removeable, simulated)
737Srgrimes#	d[0-4]	drive-type-dependent parameters
837Srgrimes#	ns	#sectors/track
937Srgrimes#	nt	#tracks/cylinder
1037Srgrimes#	nc	#cylinders/disk
11476Srgrimes#	sc	#sectors/cylinder, ns*nt default
1237Srgrimes#	su	#sectors/unit, sc*nc default
1337Srgrimes#	se	sector size, DEV_BSIZE default
1437Srgrimes#	rm	rpm, 3600 default
1537Srgrimes#	sf	supports bad144-style bad sector forwarding
1637Srgrimes#	sk	sector skew per track, default 0
1737Srgrimes#	cs	sector skew per cylinder, default 0
1837Srgrimes#	hs	headswitch time, default 0
1937Srgrimes#	ts	one-cylinder seek time, default 0
2037Srgrimes#	il	sector interleave (n:1), 1 default
2137Srgrimes#	bs	boot block size, default BBSIZE
2237Srgrimes#	sb	superblock size, default SBSIZE
2337Srgrimes#	o[a-h]	partition offsets in sectors
2437Srgrimes#	p[a-h]	partition sizes in sectors
2537Srgrimes#	b[a-h]	partition block sizes in bytes
2637Srgrimes#	f[a-h]	partition fragment sizes in bytes
2737Srgrimes#	t[a-h]	partition types (filesystem, swap, etc)
2837Srgrimes#
2937Srgrimes# All partition sizes reserve space for bad sector tables.
3037Srgrimes# (5 cylinders needed for maintenance + replacement sectors)
3137Srgrimes#
321141Sache
331141Sache#
341141Sache# Floppy formats:
351141Sache#
361141Sache# To make a filesystem on a floppy:
377708Srgrimes#	fdformat [-f <size>] fd<drive>[.<size>]
3811137Sjoerg#	disklabel -B -r -w fd<drive>[.<size>] fd<size>
3911137Sjoerg#	newfs <opts> fd<drive>[.<size>]
401141Sache#
4111137Sjoerg# with <opts>:
4211137Sjoerg#	-t 2	- two heads
4311137Sjoerg#	-u 9|15|18 - sectors per track
4411137Sjoerg#	(using the default value of 1/4096 is not much useful for floppies)
4511137Sjoerg#	-l 1	- interleave 1 (for most floppies)
4611137Sjoerg#	-i 65536 - bytes of data per i-node
4711137Sjoerg#	(the default -i value will render you with a floppy wasting way
4811137Sjoerg#	too much space in i-node areas)
4911137Sjoerg#
501141Sache
511141Sachefd360:\
521141Sache	:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#40:\
531141Sache	:pa#720:oa#0:ba#4096:fa#512:\
541141Sache	:pc#720:oc#0:bc#4096:fc#512:
551141Sache
561141Sachefd720:\
571141Sache	:ty=floppy:se#512:nt#2:rm#300:ns#9:nc#80:\
581141Sache	:pa#1440:oa#0:ba#4096:fa#512:\
591141Sache	:pc#1440:oc#0:bc#4096:fc#512:
601141Sache
611182Srgrimesfd1200|floppy5|5in|5.25in High Density Floppy:\
621144Sache	:ty=floppy:se#512:nt#2:rm#360:ns#15:nc#80:\
631141Sache	:pa#2400:oa#0:ba#4096:fa#512:\
641141Sache	:pc#2400:oc#0:bc#4096:fc#512:
651141Sache
661182Srgrimesfd1440|floppy|floppy3|3in|3.5in High Density Floppy:\
671141Sache	:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#80:\
681141Sache	:pa#2880:oa#0:ba#4096:fa#512:\
691141Sache	:pc#2880:oc#0:bc#4096:fc#512:
701141Sache
711141Sache#
721141Sache# Stressed floppy-formats.  No guarantees given.
731141Sache#
741141Sache
751141Sachefd800:\
761141Sache	:ty=floppy:se#512:nt#2:rm#300:ns#10:nc#80:\
771141Sache	:pa#1600:oa#0:ba#4096:fa#512:\
781141Sache	:pc#1600:oc#0:bc#4096:fc#512:
791141Sache
801141Sachefd820:\
811141Sache	:ty=floppy:se#512:nt#2:rm#300:ns#10:nc#82:\
821141Sache	:pa#1640:oa#0:ba#4096:fa#512:\
831141Sache	:pc#1640:oc#0:bc#4096:fc#512:
841141Sache
851141Sachefd1480:\
861141Sache	:ty=floppy:se#512:nt#2:rm#300:ns#18:nc#82:\
871141Sache	:pa#2952:oa#0:ba#4096:fa#512:\
881141Sache	:pc#2952:oc#0:bc#4096:fc#512:
891141Sache
901141Sachefd1720:\
911141Sache	:ty=floppy:se#512:nt#2:rm#300:ns#21:nc#82:\
921141Sache	:pa#3444:oa#0:ba#4096:fa#512:\
931141Sache	:pc#3444:oc#0:bc#4096:fc#512:
941141Sache
951141Sache#
9632578Spst# LS-120 floppy-format.
9732578Spst#
9832578Spstfd120m|floppy120|floppy120m|3.5in LS-120 Floppy:\
9932578Spst	:ty=floppy:se#512:nt#8:rm#300:ns#32:nc#963:\
10032578Spst	:pa#246528:oa#0:ba#4096:fa#512:\
10132578Spst	:pc#246528:oc#0:bc#4096:fc#512:
10232578Spst
10332578Spst#
1041141Sache# Harddisk formats
1051141Sache#
10637Srgrimesqp120at|Quantum Peripherals 120MB IDE:\
10737Srgrimes	:dt=ESDI:ty=winchester:se#512:nt#9:ns#32:nc#813:sf: \
10837Srgrimes	:pa#13824:oa#0:ta=4.2BSD:ba#4096:fa#512: \
10937Srgrimes	:pb#13824:ob#13824:tb=swap: \
11037Srgrimes	:pc#234144:oc#0: \
11137Srgrimes	:ph#206496:oh#27648:th=4.2BSD:bh#4096:fh#512:
11237Srgrimes
11337Srgrimespan60|Panasonic Laptop's 60MB IDE:\
11437Srgrimes	:dt=ST506:ty=winchester:se#512:nt#13:ns#17:nc#565:\
11537Srgrimes	:pa#13260:oa#0:ta=4.2BSD:ba#4096:fa#512:\
11637Srgrimes	:pb#13260:ob#13260:tb=swap: \
11737Srgrimes	:pc#124865:oc#0: \
11837Srgrimes	:ph#97682:oh#26520:th=4.2BSD:bh#4096:fh#512:
11937Srgrimes
12037Srgrimesmk156|toshiba156|Toshiba MK156 156Mb:\
12137Srgrimes	:dt=SCSI:ty=winchester:se#512:nt#10:ns#35:nc#825:\
12237Srgrimes	:pa#15748:oa#0:ba#4096:fa#512:ta=4.2BSD:\
12337Srgrimes	:pb#15748:ob#15748:tb=swap:\
1247708Srgrimes	:pc#288750:oc#0:\
125130151Sschweikh	:ph#257250:oh#31500:bh#4096:fh#512:th=4.2BSD:
12637Srgrimes
12737Srgrimescp3100|Connor Peripherals 100MB IDE:\
128145Srgrimes	:dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \
12937Srgrimes	:pa#12144:oa#0:ta=4.2BSD:ba#4096:fa#512: \
13037Srgrimes	:pb#12144:ob#12144:tb=swap: \
13137Srgrimes	:pc#202224:oc#0: \
13237Srgrimes	:ph#177936:oh#24288:th=4.2BSD:bh#4096:fh#512:
13337Srgrimes
134145Srgrimes# a == root
135145Srgrimes# b == swap
136145Srgrimes# c == d == whole disk
137145Srgrimes# e == /var
138145Srgrimes# f == scratch
139145Srgrimes# h == /usr
140145Srgrimes
141145Srgrimescp3100new|Connor Peripherals 100MB IDE, with a different configuration:\
142145Srgrimes	:dt=ST506:ty=winchester:se#512:nt#8:ns#33:nc#766: \
143145Srgrimes	:pa#15840:oa#0:ta=4.2BSD:ba#4096:fa#512: \
144145Srgrimes	:pb#24288:ob#15840:tb=swap: \
145145Srgrimes	:pc#202224:oc#0: \
146145Srgrimes	:pd#202224:od#0: \
147145Srgrimes	:pe#15840:oe#40128:te=4.2BSD:be#4096:fe#512: \
148145Srgrimes	:pg#15840:og#55968:tg=4.2BSD:bg#4096:fg#512: \
149145Srgrimes	:ph#130416:oh#71808:th=4.2BSD:bh#4096:fh#512:
150145Srgrimes
15137Srgrimesmaxtor4380|Maxtor XT4380E ESDI :\
15237Srgrimes	:dt=ESDI:ty=winchester:se#512:nt#15:ns#36:nc#1222:sf: \
15337Srgrimes	:pa#21600:oa#0:ta=4.2BSD:ba#4096:fa#512:\
15437Srgrimes	:pb#21600:ob#21600:tb=swap: \
15537Srgrimes	:pc#659880:oc#0: \
15637Srgrimes	:pd#216000:od#53200:td=4.2BSD:bd#4096:fd#512: \
15737Srgrimes	:ph#398520:oh#269200:th=4.2BSD:bh#4096:fh#512:
15837Srgrimes
15937Srgrimesminiscribe9380|compaq38|Miniscribe 9380 ESDI :\
16037Srgrimes	:ty=winchester:dt=ESDI:se#512:nt#15:ns#35:nc#1223:rm#3600:sf: \
16137Srgrimes	:pa#21000:oa#0:ba#8192:fa#1024:ta=4.2BSD: \
16237Srgrimes	:pb#42000:ob#21000:tb=swap: \
16337Srgrimes	:pc#642075:oc#0: \
16437Srgrimes	:pd#21000:od#63000:bd#8192:fd#1024:td=4.2BSD: \
16537Srgrimes	:ph#556500:oh#84000:bh#8192:fh#1024:th=4.2BSD:
16637Srgrimes
16737Srgrimesida4|compaq88|Compaq IDA (4 drives) :\
16837Srgrimes	:ty=winchester:dt=IDA:se#512:nt#16:ns#63:nc#1644:rm#3600:\
16937Srgrimes	:pa#20160:oa#0:ba#8192:fa#1024:ta=4.2BSD: \
17037Srgrimes	:pb#80640:ob#20160:tb=swap: \
17137Srgrimes	:pc#1659168:oc#0: \
17237Srgrimes	:pd#201600:od#100800:bd#8192:fd#1024:td=4.2BSD: \
17337Srgrimes	:pe#20160:oe#1310400:be#8192:fe#1024:te=4.2BSD: \
17437Srgrimes	:ph#1008000:oh#302400:bh#8192:fh#1024:th=4.2BSD: \
17537Srgrimes	:pg#302400:og#1330560:bg#4096:fg#512:tg=4.2BSD:
17637Srgrimes
17737Srgrimesfuji513|Fujitsu M22XXXX: \
17837Srgrimes	:ty=winchester:dt=ESDI:se#512:nt#16:ns#63:nc#954:rm#3600:\
17937Srgrimes	:pa#20160:oa#82656:ba#4096:fa#512:ta=4.2BSD: \
18037Srgrimes	:pb#40320:ob#102816:tb=swap: \
18137Srgrimes	:pc#961632:oc#0: \
18237Srgrimes	:ph#656208:oh#143136:bh#4096:fh#512:th=4.2BSD:
18337Srgrimes
18411137Sjoergsony650|Sony 650 MB MOD|\
18511137Sjoerg	:ty=removable:dt=SCSI:se#512:nt#1:ns#31:nc#18600:ts#1:rm#4800:\
18611137Sjoerg	:pc#576600:oc#0:\
18711137Sjoerg	:pa#576600:oa#0:ta=4.2BSD:ba#8192:fa#1024:
18813439Sjkh
18913439Sjkhmta3230|mo230|IBM MTA-3230 230 Meg 3.5inch Magneto-Optical:\
19013439Sjkh	:ty=removeable:dt=SCSI:rm#3600:\
19113439Sjkh	:se#512:nt#64:ns#32:nc#216:sc#2048:su#444384:\
19213439Sjkh	:pa#444384:oa#0:ba#4096:fa#0:ta=4.2BSD:\
19313439Sjkh	:pc#444384:oc#0:
19419558Sjkh
19519558Sjkhminimum:ty=mfs:se#512:nt#1:rm#300:\
19622517Sjkh	:ns#2880:nc#1:\
19722517Sjkh	:pa#2880:oa#0:ba#4096:fa#512:\
19822517Sjkh	:pc#2880:oc#0:bc#4096:fc#512:
19922528Sjulian
20042544Sjkhminimum2:ty=mfs:se#512:nt#1:rm#300:\
20142544Sjkh	:ns#5760:nc#1:\
20242544Sjkh	:pa#5760:oa#0:ba#4096:fa#512:\
20342544Sjkh	:pc#5760:oc#0:bc#4096:fc#512:
20442544Sjkh
20567631Shosokawaminimum3:ty=mfs:se#512:nt#1:rm#300:\
20667631Shosokawa	:ns#8640:nc#1:\
20767631Shosokawa	:pa#8640:oa#0:ba#4096:fa#512:\
20867631Shosokawa	:pc#8640:oc#0:bc#4096:fc#512:
20967631Shosokawa
21022528Sjulianzip100|zip 100:\
21122528Sjulian	:ty=removable:se#512:nc#96:nt#64:ns#32:\
21222528Sjulian	:pa#196608:oa#0:ba#4096:fa#512:\
21322528Sjulian	:pc#196608:oc#0:bc#4096:fc#512:
21422528Sjulian
21582703Smurrayzip250|zip 250:\
21682703Smurray	:ty=removable:se#512:nc#239:nt#64:ns#32:\
21782703Smurray	:pa#489472:oa#0:ba#4096:fa#512:\
21882703Smurray	:pc#489472:oc#0:bc#4096:fc#512:
21982703Smurray
22047724Sbillforb2200|orb22|orb:\
22147724Sbillf	:ty=removable:ns#63:nt#128:nc#4273:sc#1008:su#4307184:se#512:\
22247724Sbillf	:pa#4307184:oa#0:ba#8192:fa#1024:\
22347724Sbillf	:pc#4307184:oc#0:bc#8192:fc#1024:
22447724Sbillf
225