OFS

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |subcat=Filesystem }} The '''Amiga Old File System''' was the standard file system for Amiga floppy disks an...")
 
Line 28: Line 28:
 
* [[wikipedia:Amiga Old File System]]
 
* [[wikipedia:Amiga Old File System]]
 
* [http://lclevy.free.fr/adflib/adf_info.html#p4 OFS/FFS logical disk format]
 
* [http://lclevy.free.fr/adflib/adf_info.html#p4 OFS/FFS logical disk format]
 +
 +
[[Category:Amiga]]

Revision as of 15:10, 10 December 2016

File Format
Name OFS
Ontology

The Amiga Old File System was the standard file system for Amiga floppy disks and hard drives with AmigaOS 1.0-1.2. Originally it was named the "Amiga File System" (FFS), but was superseded by the Fast File System released with Workbench 1.3 and was retrospectively renamed to "Old File System".

The filesystem originally came from TRIPOS, which formed the basis of AmigaDOS until Workbench 2.0 was released. The format has serious deficiencies; the main one being that each 512 byte block of data is 488 bytes of actual data and 24 bytes of metadata. The main difference between OFS and FFS is that FFS got rid of this metadata in data blocks, and instead wrote continuous blocks of raw data with no metadata in them.

OFS data block metadata

Size Purpose How FFS eliminated it
4 bytes "this block is a data block" The root block is in a fixed position. It points to directory blocks. They point to file header blocks. Those point to data blocks
4 bytes a pointer back to the file header block The file header block points to data blocks; the data blocks don't point back
4 bytes Which block number this is in the file The file header block lists all data blocks in order
4 bytes Size of this block The file header block lists the file size
4 bytes Pointer to the next block The file header block lists all data blocks in order
4 bytes Checksum No checksums

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox