Amiga Old File System Article Index for
Amiga
Shopping
Amiga
Website Links For
Amiga
 

Information About

Amiga Old File System




On the Amiga , the Old File System was the filesystem for Amiga OS before the Amiga Fast File System . Even though it used 512-byte blocks, it reserved the first small portion of each Block for Metadata , leaving a very irregular actual data block capacity of only 488 bytes per block. It wasn't very suitable for anything except Floppy Disk s, and it was soon replaced.


HISTORY

Originally known as Amiga File System, the filesystem itself was very similar to that of Xerox Alto Filesystem. Development was from 1982 to 1985 as the filesystem of TripOS . It received the nickname of "Old" when Fast File System was released with Amiga OS 1.3.

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. Interestingly, 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.

Metacomco, BSTRINGS, BPOINTERS, and family contained in the Amiga FS entered the scene when it was decided that the originally planned OS would take too long to be developed in time for the launch of Amiga. Consequently, Metacomco grafted onto the filesystem a lot of things that the old Amiga Inc. has changed, and this resulted in a sort of hodgepodge mess.


CHARACTERISTICS

Amiga uses MFM encoding/decoding by default when handling Floppy Disk s. 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.

The geometry of an Amiga Floppy Disk is as follows:

  • DD disks: 512 bytes/sector, 11 sector/track, 2 track/cyl, 80 cyl/disk

  • HD disks: 512 bytes/sector, 22 sector/track, 2 track/cyl, 80 cyl/disk


  • 2 --- 80 = 1760 (0 to 1759) blocks, while the HD disk has 22 --- 2 --- 80 = 3520 blocks.


Amiga stores 880 KiB on a DD disk and 1760 KiB on an HD floppy disk.

The standard Amiga filesystem has an internal 32 bit wide offset parameter (unsigned). It tells where to start the read/write operation. The biggest size for an Amiga disk is therefore 2^32 = 4 GiB. This limit was changed with Amiga OS 3.5 and 3.9 and now is 2^64 = 4 Exabyte.

OFS Datablock stores Block Size BSIZE-24 bytes (i.e. normally 488 bytes at most frequently used BSIZE of 512 bytes), FFS stores BSIZE bytes (512 bytes per block).
FFS supports directory caching, links and international mode. The FFS is also faster than OFS.

The Rootblock is located at the physical middle of the media: block number 880 for DD disks, block 1760 for HDs.

The exact calculation for where it is stored is as follows:

numCyls = highCyl - lowCyl + 1

  • numSurfaces --- numBlocksPerTrack - 1


rootKey = INT (numReserved + highKey) / 2


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.