Knowledge (XXG)

Amiga Old File System

Source 📝

166:
The idea to create non-standard autobootable disks was born in a primitive attempt to prevent copy of such disks and to avoid the loading and launch of Amiga DOS, in order to directly access the Amiga graphic, audio and memory chipsets. DiskDoctor in fact changed autostart disks bootblocks into standard AmigaDOS-based ones, renaming a disk with "Lazarus" namedisk, and made the autostart disk unusable.
25: 289: 276:
Files are composed of a file header block, which contains information about the file (size, last access time, data block pointers, etc.), and the data blocks, which contain the actual data. The file header block contains up to BSIZE/4-56 data block pointers (which amounts to 72 entries with the usual
241:
The date fields in the root block (and other blocks) are structured in the form of DAYS, MINS and TICKS. The DAYS field contains the number of days since January 1. 1978. MINS is the number of minutes that have passed since midnight and TICKS are expressed in 1/50s of a second. A day value of zero is
165:
OFS is very good for repairing the filesystem in the event of a problem, although the so-called DiskDoctor provided by Commodore quickly earned the name DiskDestroyer, because it could not repair No-DOS type autostart disks provided by third-party software manufacturers as bootable disks for games.
257:
to calculate which 32-bit word in the disk block to use as a pointer to a hash bucket list, which in turn contains the file, directory, or link record. A bucket list is used to support filesystem objects with names that hash to the same offset. For example:
211:
Prior to AmigaOS 3.5, AmigaDOS file handles maintained a 32-bit wide offset parameter (unsigned), telling where to start the next read or write operation. The biggest size for any single Amiga file under these operating systems therefore comes to 2 = 4
277:
512 byte blocks). If a file is larger than that, file extension blocks will be allocated to hold the data block pointers. File extension blocks are organised in a linked list, which starts in the file header block ('extension' field).
182:. There are 80 cylinders on an Amiga floppy disk. Each cylinder has 2 MFM tracks, one on each side of the disk. Double density (DD) disks have 11 sectors per MFM track, high density (HD) disks have 22 sectors. 235:
The rootblock contains information about the disk: its name, its formatting date, etc. It also contains information on accessing the files/directories/links located at the uppermost (root) directory.
273:
Filename characters can be lowercase and uppercase, but are not case sensitive when accessed. That is to say, "MyFile" and "myfile" in the same directory refer to the same file.
238:
The characters '/' and ':' are forbidden in file and volume names, but *!@#$ %|^+&_()=\-{}';",<>.? and letters with diacritical marks like âè are allowed.
220:
files. However, OFS-formatted disks continue to retain the 32-bit limitations, for that is an intrinsic limitation of the format as recorded on the media.
35: 226:
The rootblock is located at the physical middle of the media: block number 880 for DD disks, block 1760 for HDs. This helps minimize seek times.
242:
considered illegal by most programs. Since the DAYS value is stored as a 32-bit number, the Amiga filesystem does not have an inherent
386: 93: 65: 662: 461: 232:
numCyls = highCyl - lowCyl + 1 highKey = numCyls * numSurfaces * numBlocksPerTrack - 1 rootKey = INT (numReserved + highKey) / 2
715: 72: 50: 500: 175: 223:
An OFS datablock stores block size BSIZE-24 bytes (i.e. normally 488 bytes at most frequently used BSIZE of 512 bytes).
79: 437: 770: 61: 692: 561: 492: 307: 672: 597: 138:, leaving an actual data block capacity of 488 bytes per block. It wasn't very suitable for anything except 556: 322: 302: 159: 127: 576: 571: 530: 379: 196:
The DD disk has 11 * 2 * 80 = 1760 (0 to 1759) blocks, while the HD disk has 22 * 2 * 80 = 3520 blocks.
505: 317: 135: 131: 657: 525: 86: 677: 647: 566: 471: 466: 338: 312: 247: 243: 780: 751: 740: 372: 667: 451: 775: 687: 634: 510: 481: 432: 764: 730: 618: 356: 254: 42: 515: 442: 294: 130:. Even though it used 512-byte blocks, it reserved the first small portion of each 652: 179: 139: 24: 456: 422: 412: 284: 602: 476: 150:
Originally known as the Amiga File System, it came from the filesystem of
697: 546: 417: 334: 217: 213: 200: 155: 735: 682: 395: 123: 720: 642: 623: 520: 446: 342: 192:
HD disks: 512 bytes/sector, 22 sector/track, 2 track/cyl, 80 cyl/disk
189:
DD disks: 512 bytes/sector, 11 sector/track, 2 track/cyl, 80 cyl/disk
151: 158:. It received the nickname of "Old" or "Original" File System when 427: 403: 115: 725: 581: 368: 18: 229:
The exact calculation for where it is stored is as follows:
364: 216:. After Amiga OS 3.5, file handles may reference 2 = 16 46: 357:
Why was "Disk doctor" so spectacularly bad at its job?
253:
To reach a file, directory or link, AmigaDOS uses a
185:
The geometry of an Amiga floppy disk is as follows:
708: 632: 611: 590: 539: 490: 402: 154:, which formed the basis of the first versions of 203:on a DD disk and 1760 KiB on an HD floppy disk. 380: 8: 51:introducing citations to additional sources 178:encoding/decoding by default when handling 387: 373: 365: 170:Characteristics of AmigaDOS Floppy Disks 41:Relevant discussion may be found on the 349: 207:Characteristics of Files under AmigaDOS 7: 14: 287: 34:relies largely or entirely on a 23: 162:was released with AmigaOS 1.3. 1: 142:, and it was soon replaced. 797: 270:have the same hash value. 749: 308:Professional File System 598:AmigaOS version history 122:was the filesystem for 62:"Amiga Old File System" 16:File system for AmigaOS 303:Amiga Fast File System 128:Amiga Fast File System 318:List of file systems 47:improve this article 771:Disk file systems 758: 757: 648:Amiga Reflections 313:Smart File System 248:Year 2038 problem 244:Year 2000 problem 199:Amiga stores 880 112: 111: 97: 788: 389: 382: 375: 366: 359: 354: 323:Rigid Disk Block 297: 292: 291: 290: 160:Fast File System 107: 104: 98: 96: 55: 27: 19: 796: 795: 791: 790: 789: 787: 786: 785: 761: 760: 759: 754: 745: 704: 628: 607: 586: 535: 486: 452:Guru Meditation 398: 393: 363: 362: 355: 351: 331: 293: 288: 286: 283: 233: 209: 172: 148: 120:Old File System 108: 102: 99: 56: 54: 40: 28: 17: 12: 11: 5: 794: 792: 784: 783: 778: 773: 763: 762: 756: 755: 750: 747: 746: 744: 743: 738: 733: 728: 723: 718: 712: 710: 706: 705: 703: 702: 701: 700: 690: 685: 680: 675: 670: 665: 660: 655: 650: 645: 639: 637: 630: 629: 627: 626: 621: 615: 613: 612:Software packs 609: 608: 606: 605: 600: 594: 592: 588: 587: 585: 584: 579: 574: 569: 564: 559: 554: 549: 543: 541: 537: 536: 534: 533: 528: 523: 518: 513: 508: 503: 497: 495: 488: 487: 485: 484: 479: 474: 469: 464: 459: 454: 449: 440: 435: 433:Blitter object 430: 425: 420: 415: 409: 407: 400: 399: 394: 392: 391: 384: 377: 369: 361: 360: 348: 347: 346: 345: 330: 329:External links 327: 326: 325: 320: 315: 310: 305: 299: 298: 282: 279: 231: 208: 205: 194: 193: 190: 171: 168: 147: 144: 110: 109: 45:. Please help 31: 29: 22: 15: 13: 10: 9: 6: 4: 3: 2: 793: 782: 779: 777: 774: 772: 769: 768: 766: 753: 748: 742: 739: 737: 734: 732: 731:DragonFly BSD 729: 727: 724: 722: 719: 717: 714: 713: 711: 707: 699: 696: 695: 694: 691: 689: 686: 684: 681: 679: 676: 674: 671: 669: 666: 664: 661: 659: 656: 654: 651: 649: 646: 644: 641: 640: 638: 636: 631: 625: 622: 620: 619:Amiga Forever 617: 616: 614: 610: 604: 601: 599: 596: 595: 593: 589: 583: 580: 578: 575: 573: 570: 568: 565: 563: 560: 558: 555: 553: 550: 548: 545: 544: 542: 538: 532: 529: 527: 524: 522: 519: 517: 514: 512: 511:Opus Magellan 509: 507: 504: 502: 499: 498: 496: 494: 489: 483: 480: 478: 475: 473: 470: 468: 465: 463: 460: 458: 455: 453: 450: 448: 444: 441: 439: 436: 434: 431: 429: 426: 424: 421: 419: 416: 414: 411: 410: 408: 405: 401: 397: 390: 385: 383: 378: 376: 371: 370: 367: 358: 353: 350: 344: 341:format, from 340: 336: 335:The ADF specs 333: 332: 328: 324: 321: 319: 316: 314: 311: 309: 306: 304: 301: 300: 296: 285: 280: 278: 274: 271: 269: 265: 261: 256: 255:hash function 251: 249: 245: 239: 236: 230: 227: 224: 221: 219: 215: 206: 204: 202: 197: 191: 188: 187: 186: 183: 181: 177: 169: 167: 163: 161: 157: 153: 145: 143: 141: 137: 133: 129: 125: 121: 117: 106: 95: 92: 88: 85: 81: 78: 74: 71: 67: 64: –  63: 59: 58:Find sources: 52: 48: 44: 38: 37: 36:single source 32:This article 30: 26: 21: 20: 551: 540:File systems 406:technologies 352: 295:Amiga portal 275: 272: 267: 263: 259: 252: 240: 237: 234: 228: 225: 222: 210: 198: 195: 184: 180:floppy disks 173: 164: 149: 140:floppy disks 119: 113: 103:October 2015 100: 90: 83: 76: 69: 57: 33: 591:OS versions 174:Amiga uses 126:before the 765:Categories 709:Influenced 423:AmigaGuide 413:AmigaBASIC 73:newspapers 663:Hollywood 603:AmigaOS 4 526:Workbench 472:Kickstart 467:Intuition 462:Installer 43:talk page 752:Category 741:Syllable 698:AmiZilla 635:software 547:CrossDOS 516:ReAction 477:RAM disk 418:AmigaDOS 281:See also 156:AmigaDOS 136:metadata 781:AmigaOS 736:MorphOS 683:WHDLoad 501:Ambient 396:AmigaOS 268:file_5u 264:file_24 260:file_1a 146:History 124:AmigaOS 114:On the 87:scholar 721:AtheOS 688:WinUAE 643:Aminet 633:Other 624:AmiKit 521:Scalos 491:Amiga 447:WarpOS 343:Aminet 152:TRIPOS 118:, the 89:  82:  75:  68:  60:  776:Amiga 658:Games 653:Demos 428:ARexx 404:Amiga 132:block 116:Amiga 94:JSTOR 80:books 726:BeOS 716:AROS 582:NTFS 531:Zune 493:GUIs 457:Hunk 443:Exec 438:CAMD 266:and 134:for 66:news 693:YAM 678:LHA 673:IFF 668:ADF 577:FAT 572:UDF 567:SFS 562:PFS 557:FFS 552:OFS 506:MUI 482:XAD 339:LHA 337:in 246:or 218:EiB 214:GiB 201:KiB 176:MFM 49:by 767:: 262:, 250:. 445:/ 388:e 381:t 374:v 105:) 101:( 91:· 84:· 77:· 70:· 53:. 39:.

Index


single source
talk page
improve this article
introducing citations to additional sources
"Amiga Old File System"
news
newspapers
books
scholar
JSTOR
Amiga
AmigaOS
Amiga Fast File System
block
metadata
floppy disks
TRIPOS
AmigaDOS
Fast File System
MFM
floppy disks
KiB
GiB
EiB
Year 2000 problem
Year 2038 problem
hash function
Amiga portal
Amiga Fast File System

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.