This file is indexed.

/etc/mediaprm is in fdutils 5.5-20060227-7.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
# /etc/mediaprm  -  floppy disk parameter table
# NB: this file was formerly named /etc/fdprm.

########################################################################
# Standard linux disk formats. Names are of the form
#  actual media capacity/maximum drive capacity
# (Note: although 5.25" HD drives can format disks at 1.44M, they're listed
#        as 1200 because that's the common maximum size.)

#		size sec/t hds trk stre gap  rate spec1 fmt_gap

"360/360":
 DS DD sect=9

"1200/1200":
 DS HD sect=15

"360/720":
 SS DD sect=9

"720/720":
 DS DD sect=9

"360/1200":
 DS DD sect=9

"720/1200":
 DS QD sect=9

"1440/1440":
 DS HD sect=18

"2880/2880":
 DS ED sect=36

"2880/2880":
 DS ED sect=36

"2880/2880":
 DS ED sect=36

"1440/1200":
 DS HD sect=18

"1680/1440":
 DS HD sect=21

"410/1200":
 DS DD sect=10 cyl=41

"820/1440":
 DS DD sect=10 cyl=82

"1476/1200":
 DS HD sect=18 cyl=82

"1722/1440":
 DS HD sect=21 cyl=82

"420/1200":
 DS DD sect=10 cyl=42

"830/1440":
 DS DD sect=10 cyl=83

"1494/1200":
 DS HD sect=18 cyl=83

"1743/1440":
 DS HD sect=21 cyl=83

"1743/1440":
 DS HD sect=21 cyl=83

"880/1200":
 DS QD tracksize=11b ssize=1KB

"1040/720":
 DS QD sect=13

"1120/720":
 DS QD tracksize=7KB mss

"1600/1200":
 DS HD tracksize=10KB mss

"1760/1440":
 DS HD sect=11 ssize=1KB

"1920/1440":
 DS HD tracksize=12KB mss

"3200/2880":
 DS ED sect=5 ssize=4KB

"3520/2880":
 DS ED tracksize=22KB ssize=4KB

"3840/2880":
 DS ED sect=3 ssize=8KB

"3840/2880":
 DS ED sect=3 ssize=8KB

"1840/1440":
 DS HD tracksize=23b ssize=2KB

"800/720":
 DS DD sect=10

"1600/1440":
 DS HD sect=20

########################################################################
# CP/M formats
#
# the name is constructed as CODsize, where COD identifies the
# brand of the computer having formatted the disk

# Generic CP/M - SSSD 8"

"GEN250":
 SS DD sect=24 dtr=0 fm=1 cyl=77 ssize=128

# ABC-80 - SSDD 48 tpi 5.25"

"ABC160":
 SS DD sect=16 ssize=256

# Actrix (Access Matrix) - SSDD 48 tpi 5.25"

"ACT180":
 SS DD sect=9

# Adler Textriter - SSDD 48 tpi 5.25"

"ADL160":
 SS DD sect=16 ssize=256

# Advanced Digital Super 6 - SSDD 48 tpi 5.25"

"ADV160":
 SS DD sect=4 ssize=1KB

# Advanced Digital Super 6 - DSDD 96 tpi 5.25"

"ADV640":
 DS QD sect=4 ssize=1KB

# Altos Series 5 - DSDD 96 tpi 5.25"

"ALT720":
 DS QD sect=9

# Amigo - SSDD 48 tpi 5.25"

"AMI200":
 SS DD sect=10

# Ampro - SSDD 48 tpi 5.25"

"AMP200":
 SS DD sect=10

# Ampro - SSDD 96 tpi 5.25"

"AMP400":
 SS QD sect=5 ssize=1KB

# Amstrad PCW8256 - DSDD 96 tpi 5.25"

"AMS720":
 DS QD sect=9

# Archive I - SSDD 96 tpi 5.25"

"ARC400":
 SS QD sect=5 ssize=1KB

# Archive II & III - DSDD 96 tpi 5.25"

"ARC800":
 DS QD sect=5 ssize=1KB

# Arisia - SSDD 48 tpi 5.25"

"ARI180":
 SS DD sect=18 ssize=256

# ATR-8000 - SSDD 48 tpi 5.25"

"ATR200":
 SS DD sect=5 ssize=1KB

# Beehive - DSDD 48 tpi 5.25"

"BEE400":
 DS DD sect=10

# Bitelex - SSDD 48 tpi 5.25"

"BIT160":
 SS DD sect=16 ssize=256

# BMC IF800 Model 20 - DSDD 48 tpi 5.25"

"BMC400":
 DS DD sect=10

# Burr-Brown - DSDD 48 tpi 5.25"

"BUR360":
 DS DD sect=18 ssize=256

# Cal-PC - DSDD 48 tpi 5.25"

"CAL400":
 DS DD sect=5 ssize=1KB

# Cashcom 100 - DSDD 96 tpi 5.25"

"CAS640":
 DS QD sect=4 ssize=1KB

# CDI-5000 - DSDD 48 tpi 5.25"

"CDI400":
 DS DD sect=5 ssize=1KB

# CMC Supersystem 2 - DSDD 96 tpi 5.25"

"CMC800":
 DS QD sect=5 ssize=1KB

# Coleco ADAM, 40 track - SSDD 48 tpi 5.25"

"COL160":
 SS DD sect=8

# Compugraphic MCS-5 - SSDD 48 tpi 5.25"

"COM160":
 SS DD sect=16 ssize=256

# Compupro (Viasyn) (1024 bytes/sector) - DSDD 96 tpi 5.25"

"COM800":
 DS QD sect=5 ssize=1KB

# Cromemco CDOS - SSSD 48 tpi 5.25"

"CRO80":
 SS SD sect=16 dtr=1 fm=1 ssize=128

# Cromemco CDOS - SSDD 48 tpi 5.25"

"CRO200":
 SS DD sect=10

# Cromemco CP/M - SSDD 48 tpi 5.25"

"CRO200":
 SS DD sect=10

# C/WP Cortex - SSDD 48 tpi 5.25"

"CWP200":
 SS DD sect=10

# Cykey - DSDD 48 tpi 5.25"

"CYK320":
 DS DD sect=16 ssize=256

# DEC DECMate II - SSDD 96 tpi 5.25"

"DEC400":
 SS QD sect=10

# DEC Rainbow - SSDD 96 tpi 5.25"

"DEC180":
 SS DD sect=9

# DEC VT-180 - SSDD 48 tpi 5.25"

"DEC180":
 SS DD sect=9

# Direct 1025 - DSDD 48 tpi 5.25"

"DIR320":
 DS DD sect=16 ssize=256

# Discovery - DSDD 96 tpi 5.25"

"DIS640":
 DS QD sect=8

# Eagle II - SSDD 96 tpi 5.25"

"EAG400":
 SS QD sect=5 ssize=1KB

# Epson QX-10 - DSDD 48 tpi 5.25"

"EPS400":
 DS DD sect=10

# Epson QX-10 (256 bytes/sector) - DSDD 48 tpi 5.25"

"EPS320":
 DS DD sect=16 ssize=256

# Epson PX-8 - DSDD 3.5"

"EPS320":
 DS DD sect=8

# Ericsson DTC - SSDD 96 tpi 5.25"

"ERI320":
 SS QD sect=16 ssize=256

# Ericsson Step One - DSDD 96 tpi 5.25"

"ERI720":
 DS QD sect=9

# Florida Graphics - DSDD 96 tpi 5.25"

"FLO640":
 DS QD sect=16 ssize=256

# Formula 1 - DSDD 48 tpi 5.25"

"FOR360":
 DS DD sect=18 ssize=256

# Fujitsu Micro 16 - DSDD 48 tpi 5.25"

"FUJ320":
 DS DD sect=16 ssize=256

# Fujitsu Micro 8 - DSDD 48 tpi 5.25"

"FUJ320":
 DS DD sect=16 ssize=256

# HCL System 2 - DSDD 96 tpi 5.25"

"HCL800":
 DS QD sect=5 ssize=1KB

# Heath H89, Magnolia CP/M - SSDD 48 tpi 5.25"

"HEA180":
 SS DD sect=9

# Heurikon MLZ-91A - DSDD 96 tpi 5.25"

"HEU640":
 DS QD sect=16 ssize=256

# IBM PC, CP/M-86 - SSDD 48 tpi 5.25"

"IBM160":
 SS DD sect=8

# IMS 5000 - SSDD 48 tpi 5.25"

"IMS160":
 SS DD sect=16 ssize=256

# IMS 5000 TurboDOS - DSDD 96 tpi 5.25"

"IMS800":
 DS QD sect=5 ssize=1KB

# Intel iPDS 100 - DSDD 96 tpi 5.25"

"INT640":
 DS QD sect=16 ssize=256

# Insight Enterprises - DSDD 48 tpi 5.25"

"INS320":
 DS DD sect=16 ssize=256

# Ithaca Intersystems - SSDD 96 tpi 5.25"

"ITH360":
 SS QD sect=18 ssize=256

# Jet-80 - DSDD 48 tpi 5.25"

"JET400":
 DS DD sect=5 ssize=1KB

# Lexoriter - SSDD 48 tpi 5.25"

"LEX160":
 SS DD sect=16 ssize=256

# LNW 2 - SSDD 48 tpi 5.25"

"LNW180":
 SS DD sect=18 ssize=256

# Macsym 150 - SSDD 96 tpi 5.25"

"MAC320":
 SS QD sect=8

# Magic - DSDD 48 tpi 5.25"

"MAG400":
 DS DD sect=10

# MAI Basic Four - DSDD 96 tpi 5.25"

"MAI640":
 DS QD sect=16 ssize=256

# Micron Quark - DSDD 48 tpi 5.25"

"MIC320":
 DS DD sect=4 ssize=1KB

# Monroe 8800 Series - SSDD 96 tpi 5.25"

"MON320":
 SS QD sect=16 ssize=256

# Morrow MD2 - SSDD 48 tpi 5.25"

"MOR200":
 SS DD sect=5 ssize=1KB

# Morrow MD3, 5, 11, 16, 34 - DSDD 48 tpi 5.25"

"MOR400":
 DS DD sect=5 ssize=1KB

# Morrow TurboDOS - DSDD 48 tpi 5.25"

"MOR320":
 DS DD sect=4 ssize=1KB

# NCR FirstStep - DSDD 96 tpi 5.25"

"NCR640":
 DS QD sect=16 ssize=256

# NEC PC-8001A - SSDD 48 tpi 5.25"

"NEC160":
 SS DD sect=16 ssize=256

# NEC PC 8801A/8831A - DSDD 48 tpi 5.25"

"NEC320":
 DS DD sect=8

# NEC PC 8500/8431A, Starlet - DSDD 3.5"

"NEC320":
 SS QD sect=16 ssize=256

# Nixdorf 8810/30 - DSDD 96 tpi 5.25"

"NIX800":
 DS QD sect=10

# OKI IF800 Model 20 - DSDD 48 tpi 5.25"

"OKI400":
 DS DD sect=10

# Olivetti ETV300 - SSDD 48 tpi 5.25"

"OLI180":
 SS DD sect=18 ssize=256

# Olivetti M20 - DSDD 48 tpi 5.25"

"OLI320":
 DS DD sect=16 ssize=256

# Olivetti 250 -  SSDD 3.5"

"OLI320":
 SS QD sect=16 ssize=256

# Olympia EX-100 - DSDD 48 tpi 5.25"

"OLY360":
 DS DD sect=9

# Olympia ETX II - SSDD 48 tpi 5.25"

"OLY180":
 SS DD sect=9

# Osborne 1 - SSSD 48 tpi 5.25"

"OSB100":
 SS SD sect=10 dtr=1 fm=1 ssize=256

# Osborne 1 - SSDD 48 tpi 5.25"

"OSB200":
 SS DD sect=5 ssize=1KB

# Osborne Executive - SSDD 48 tpi 5.25"

"OSB200":
 SS DD sect=5 ssize=1KB

# Osborne 1 + Osmosis - DSDD 96 tpi 5.25"

"OSB400":
 DS DD sect=10

# Osborne Vixen - DSDD 48 tpi 5.25"

"OSB400":
 DS DD sect=5 ssize=1KB

# Osborne Executive w/Z3 - DSDD 96 tpi 5.25"

"OSB800":
 DS QD sect=5 ssize=1KB

# OSM Zeus 4 - DSDD 96 tpi 5.25"

"OSM640":
 DS QD sect=8

# Panasonic KX-E828 - DSDD 48 tpi 5.25"

"PAN320":
 DS DD sect=16 ssize=256

# Pegasus Data Logger - DSDD 48 tpi 5.25"

"PEG360":
 DS DD sect=9

# Philips PC-2010 - SSDD 48 tpi 5.25"

"PHI160":
 SS DD sect=16 ssize=256

# Philips PC-3000 - 3004 - SSDD 96 tpi 5.25"

"PHI320":
 SS QD sect=16 ssize=256

# Pied Piper - DSDD 96 tpi 5.25"

"PIE800":
 DS QD sect=10

# PMC Micromate - DSDD 48 tpi 5.25"

"PMC400":
 DS DD sect=5 ssize=1KB

# Proglas 770KB - DSDD 96 tpi 5.25"

"PRO800":
 DS QD sect=10

# Royal Alphatronic - DSDD 48 tpi 5.25"

"ROY320":
 DS DD sect=16 ssize=256

# Sage IV - DSDD 96 tpi 5.25"

"SAG640":
 DS QD sect=8

# Sanyo MBC-1000, MBC-1150 - DSDD 48 tpi 5.25"

"SAN320":
 DS DD sect=16 ssize=256

# Sanyo  MBC-1250 - DSDD 96 tpi 5.25"

"SAN640":
 DS QD sect=16 ssize=256

# Seequa Chameleon - SSDD 48 tpi 5.25"

"SEE160":
 SS DD sect=8

# Seiko - DSDD 96 tpi 5.25"

"SEI640":
 DS QD sect=16 ssize=256

# Siemens  PG-685 - DSDD 96 tpi 5.25"

"SIE720":
 DS QD sect=9

# Siemens PG-675 DSDD 48 tpi 5.25"

"SIE360":
 DS DD sect=9

# Siemens PG-635 DSDD 3.5"

"SIE720":
 DS QD sect=9

# Sorbus TurboDOS - 5.25" DSHD (or 8" DSDD)

"SOR1232":
 DS HD sect=8 cyl=77 ssize=1KB

# Sperry UTS 30, UTS 5000 - DSDD 96 tpi 5.25"

"SPE720":
 DS QD sect=9

# Superbrain JR - SSDD 48 tpi 5.25"

"SUP175":
 SS DD sect=10 cyl=35

# Superbrain 40 track - SSDD 48 tpi 5.25"

"SUP200":
 SS DD sect=10

# Systel 2 - SSDD 48 tpi 5.25"

"SYS180":
 SS DD sect=9

# Systel 3 - DSDD 48 tpi 5.25"

"SYS360":
 DS DD sect=9

# Televideo 801, 806 - DSDD 48 tpi 5.25"

"TEL360":
 DS DD sect=18 ssize=256

# Televideo 1603 - DSDD 96 tpi 5.25"

"TEL720":
 DS QD sect=9

# TI Professional, CP/M-86 - SSDD 48 tpi 5.25"

"TI1160":
 SS DD sect=8

# Toshiba T100, T200 - DSDD 48 tpi 5.25"

"TOS320":
 DS DD sect=16 ssize=256

# TRS-80 Model 1, Omikron CP/M - SSSD 48 tpi 5.25"

"TRS0":
 SS SD sect=16 dtr=1 fm=1 cyl=0 ssize=128

# TRS-80 Model 1, Color Power II - SSDD 48 tpi 5.25"

"TRS180":
 SS DD sect=18 ssize=256

# TRS-80, MM CP/M - SSDD 48 tpi 5.25"

"TRS200":
 SS DD sect=10

# TRS-80 Model 4, MT CP/M - SSDD 48 tpi 5.25"

"TRS180":
 SS DD sect=18 ssize=256

# TRS-80 Model 4, MT CP/M - DSDD 48 tpi 5.25"

"TRS360":
 DS DD sect=18 ssize=256

# TRS-80 Model 4 - SSDD 48 tpi 5.25"

"TRS160":
 SS DD sect=8

# Visual 1050 - SSDD 96 tpi 5.25"

"VIS400":
 SS QD sect=10

# Wangwriter - DSDD 48 tpi 5.25"

"WAN320":
 DS DD sect=16 ssize=256

# Wave Mate Bullet - SSDD 48 tpi 5.25"

"WAV200":
 SS DD sect=5 ssize=1KB

# Xerox 820 - SSSD 48 tpi 5.25"

"XER80":
 SS SD sect=16 dtr=1 fm=1 ssize=128

# Xerox 820 II - SSDD 48 tpi 5.25"

"XER160":
 SS DD sect=16 ssize=256

# Zenith Z-37 Disk - SSSD 48 tpi 5.25"

"ZEN100":
 SS SD sect=10 dtr=1 fm=1 ssize=256

# Zenith Z-37 Disk - DSDD 96 tpi 5.25"

"ZEN640":
 DS QD sect=16 ssize=256

# Zenith Z89, Heath H89 - DSDD 48 tpi 5.25"

"ZEN320":
 DS DD sect=16 ssize=256

# Zenith Z89, Heath H89 - DSDD 96 tpi 5.25"

"ZEN640":
 DS QD sect=16 ssize=256

# Zenith Z90 - SSDD 48 tpi 5.25"

"ZEN160":
 SS DD sect=16 ssize=256

# Zenith Z90 - DSDD 48 tpi 5.25"

"ZEN320":
 DS DD sect=16 ssize=256

# Zenith Z-100 - SSDD 48 tpi 5.25"

"ZEN160":
 SS DD sect=8

# Zenith Z-100 - DSDD 48 tpi 5.25"

"ZEN320":
 DS DD sect=8



########################################################################
#  Other interesting formats, please contribute ;-)
#

# Commodore 1581  (the 3 1/2 drive of the Commodore 128)
"CBM1581":
 DS DD sect=10 cyl=80 ssize=512 fmt_gap=35 gap=12 swapsides

# CMD FD2000 disk drive, a third party floppy disk drive for the
# Commodore line of computers with double of the capacity:
"CMDFD2M":
 DS HD sect=10 cyl=81 ssize=1024 fmt_gap=100 gap=12 swapsides

# Color computer, sides 1 and 2
"COCO1":
 SS DD sect=18 cyl=35 ssize=256

"COCO2":
 SS DD sect=18 cyl=35 ssize=256

# TRS-8- Color Computer os9 formats (to be confirmed). Needs
# zero-based floppy patch
"COCO360":
 DS DD sect=18 cyl=40 ssize=256 tpi=48 zero-based

"COCO720":
 DS DD sect=18 cyl=80 ssize=256 tpi=96 zero-based


# TO7 (Thomson), sides 1 and 2
"TO7-1":
 SS DD sect=16 ssize=256

"TO7-2":
 SS DD sect=16 ssize=256 swapsides